On Sat, Jun 23, 2012 at 7:17 PM, Yo-Yo Ma <baxterstock...@gmail.com> 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 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.

Sounds great - I'd love to see a patch!

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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to