Django

Code

Ticket #3753: template-invalid-varname-doc.diff

File template-invalid-varname-doc.diff, 0.6 kB (added by Matt McClanahan <cardinal@dodds.net>, 2 years ago)
  • docs/templates_python.txt

    old new  
    212212tags, the variable will be interpreted as ``None``. Filters are always 
    213213applied to invalid variables within these template tags. 
    214214 
     215If TEMPLATE_STRING_IF_INVALID contains a ``'%s'``, it will be replaced with 
     216the name of the invalid variable. 
     217 
    215218.. admonition:: For debug purposes only! 
    216219 
    217220    While ``TEMPLATE_STRING_IF_INVALID`` can be a useful debugging tool,