Skip to content

Feature request: Allow declaring multiple variables in a {% var %} tag. #70

Description

@vsajip

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions