Denigma
• October 19, 2012 • ⏱️ 1 min read • 63 words
Tutorial #template

Omitting Template Tag

For omitting the rendering of template tag {{ }} there are two options:

{% templatetage %} for variables:

{% templatetag openvariable %} variable {% templatetag closevariable %} will render as {{ variable }}

{% verbatim %} for large block of text (only in Django-1.5(dev)):

{% verbatim %} This {{ content }} won't be processed.

100%