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 <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.
>
>
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

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero

-- 
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