Michael Radziej wrote:
> {% autoescape %} always needs an {% endautoescape %}, generating a node
> during template parsing. Everything between {% autoescape %} and {%
> endautoescape %} is put in its subnode list.
> 
> If a VariableNode is below an {% autoescape on %} in the template node tree,
> autoescape is in effect, if it is below an {% autoescape off %}, it won't.
> (Deepest autoescape node wins, of course.) 

So this "deepest wins" effectively means that one can't set autoescaping 
to "off" from a base template as James was suggesting, right? (I'm not 
against it, just trying to clarify.)

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