J.
Marc Edwards
Lead
Architect - Semiconductor Design Portals
Nimbis
Services, Inc.
Skype:
(919) 747-3775
Cell: (919) 345-1021
Fax:
(919) 882-8602
marc.e...@nimbisservices.com
www.nimbisservices.com
I'd like to write a paragraph on my page that describes the {{ }} syntax, but the template interpreter is interpreting the braces.
Controls the current auto-escaping behavior. This tag takes either on or off as an argument and that determines whether auto-escaping is in effect inside the block. The block is closed with an endautoescape ending tag.
When auto-escaping is in effect, all variable content has HTML escaping applied to it before placing the result into the output (but after any filters have been applied). This is equivalent to manually applying the escape filter to each variable.
The only exceptions are variables that are already marked as “safe” from escaping, either by the code that populated the variable, or because it has had the safe or escape filters applied.
Sample usage:
{% autoescape on %} {{ body }} {% endautoescape %}
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.