Django (1.4) how to use with template tag to assign several variables -
i trying assign several variables in same :
{% 'foo' description 'blah' description_2 %} ... {% endwith %}
is there way achieve ? (it works 2 with
)
assigning multiple variables possible new syntax:
{% description='foo' description_2='blah' %} ... {% endwith %}
see https://docs.djangoproject.com/en/1.4/ref/templates/builtins/#with.
Comments
Post a Comment