Re: Can I escape or delimit the "{{ }}" template braces?

2011-12-19 Thread J. Cliff Dyer
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('{%

Re: Can I escape or delimit the "{{ }}" template braces?

2011-12-19 Thread Ian Clelland
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

Re: Can I escape or delimit the "{{ }}" template braces?

2011-12-19 Thread Andre Terra
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

Can I escape or delimit the "{{ }}" template braces?

2011-12-19 Thread J. Marc Edwards
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