On Sat, 2007-01-13 at 17:16 -0800, abe wrote:
I wanted to use a {{forlppo.counter}} just behind a curly brace in a
djang template {{{forloop.counter}}.0}
but I get an error
TemplateSyntaxError
Exception Value: Could not parse the remainder: {forloop.counter
can I somehow escape the curlybrace?
Use the templatetag tag (see
http://www.djangoproject.com/documentation/templates/#templatetag ) to
output the initial curly brace. That's why that tag exists.
Regards,
Malcolm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---