It seems an unnecessary limitation to restrict the var tag to only handle one variable. It's sometimes useful to be able to declare multiple related variables together, e.g.
{% var minlength=3 maxlength=4 %}
and it seems easy to handle this case, as Django is doing the necessary work of splitting the tokens.
It seems an unnecessary limitation to restrict the
vartag to only handle one variable. It's sometimes useful to be able to declare multiple related variables together, e.g.and it seems easy to handle this case, as Django is doing the necessary work of splitting the tokens.