Re: Proposal: Add some extensibility / decoupling features to Django templates

2012-06-27 Thread ptone
On Sunday, June 24, 2012 3:02:05 PM UTC-7, Alex_Gaynor wrote: > > > > On Sun, Jun 24, 2012 at 2:50 PM, Jacob Kaplan-Moss wrote: > >> On Sat, Jun 23, 2012 at 7:17 PM, Yo-Yo Ma >> wrote: >> > Without changing any of the existing functionality or settings in >> Django, >> > refactor the template

Re: Proposal: Add some extensibility / decoupling features to Django templates

2012-06-24 Thread Alex Gaynor
On Sun, Jun 24, 2012 at 2:50 PM, Jacob Kaplan-Moss wrote: > On Sat, Jun 23, 2012 at 7:17 PM, Yo-Yo Ma > wrote: > > Without changing any of the existing functionality or settings in Django, > > refactor the template system to use an ``Environment`` class (something > akin > > to Jinja2's ``Environ

Re: Proposal: Add some extensibility / decoupling features to Django templates

2012-06-24 Thread Jacob Kaplan-Moss
On Sat, Jun 23, 2012 at 7:17 PM, Yo-Yo Ma wrote: > Without changing any of the existing functionality or settings in Django, > refactor the template system to use an ``Environment`` class (something akin > to Jinja2's ``Environment``) which takes a list of loaders, and a number of > other argument