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


Indeed there is:

https://code.djangoproject.com/ticket/17093

-Preston

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/fXhEsNBSz58J.
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