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

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -