The answer you're looking for is the "templatetag" template tag.
Essentially, it lets you specify escaped characters by name.
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#templatetag
For example:
>>> from django.template import Template, Context
>>> t = Template('{%
On Monday, December 19, 2011, J. Marc Edwards <
marc.edwa...@nimbisservices.com> wrote:
> I'd like to write a paragraph on my page that describes the {{ }} syntax,
but the template interpreter is interpreting the braces.
I think what you need is the {% templatetag %} tag -- it outputs template
On Mon, Dec 19, 2011 at 1:35 PM, J. Marc Edwards <
marc.edwa...@nimbisservices.com> wrote:
> I'd like to write a paragraph on my page that describes the {{ }} syntax,
> but the template interpreter is interpreting the braces.
>
From
I'd like to write a paragraph on my page that describes the {{ }}
syntax, but the template interpreter is interpreting the braces.
--
J. Marc Edwards
Lead Architect - Semiconductor Design Portals
Nimbis Services, Inc.
Skype: (919) 747-3775
Cell: (919) 345-1021
Fax: (919) 882-8602
4 matches
Mail list logo