--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-d...@googlegroups.com.
To unsubscribe from this group, send email to django-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
On Sun, Jun 24, 2012 at 2:50 PM, Jacob Kaplan-Moss <ja...@jacobian.org> wrote:
On Sat, Jun 23, 2012 at 7:17 PM, Yo-Yo Ma <baxters...@gmail.com> wrote:Sounds great - I'd love to see a patch!
> 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 arguments. Then, instantiate this class, using the provided settings,
> and use it for all the default functionality (the admin, render_to_response,
> CBV template access, etc.). This would allow developers to make their own
> ``Environment`` instance with different arguments, request-specific or
> otherwise, and without having to do a lot of evil things.
Jacob
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to django-developers+unsubscribe@googlegroups.com.
This is a good idea, I think there's even a ticket (probably, but not definitely filed by either myself or Carl Meyer) on this!Alex