Hi all,
I'm trying to use the 'with' tag in an html template, similar to
below:
{% with package.view.object as f %}
{{
f.name }}
...
{% endwith %}
When I try this, however, I get a TemplateSyntaxError whose exception
value reads:
Invalid block tag: 'with'
and my {% with ... %} is highlighted as the offending line.
Has anyone else run into this? Does the 'with' block tag work? This
is my first month with Django (& Python); I've managed to sort out
previous problems in the examples I'm running through, but I'm not
sure if this one is me (likely) or Django (?).
Thanks in advance for any info...
bcrem