Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vsajip opened this issue Feb 3, 2025 · 0 comments
Open

Comments

@vsajip
Copy link

vsajip commented Feb 3, 2025

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.

vsajip added a commit to vsajip/slippers that referenced this issue Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant