On Wed, 2008-09-24 at 16:34 +0200, Johannes Dollinger wrote:
[...]
> tpl.render(Context({}, loader=PrefixLoader(['a', 'b', 'c'])))
> }}}
> 
> This would fix #2949, #3544, #4278, #6834, and #7931. But it's a  
> backwards incompatible change: If you rely on compile time side  
> effects (e.g. {% load %}) in included templates, that will break.
> 
> Opinions?

-1 from me, since it's backwards incompatible. It looks like most of
those feature requests (or at least the ones that are worth doing --
it's not clear that things like #3944 are worth it) can be done without
backwards incompatible behavioural changes.

The template context is the static rendering context, not the
compiling/loading context and it feels like this is blurring that
boundary.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to