We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Testing for the empty value of two Django variables fails when using the HAML syntax but works with the Django templating syntax.
This failed:
-if myobject.attr1 or myobject.attr2 %div foobar
This worked:
{% if myobject.attr1 or myobject.attr2 %} %div foobar {% endif %}
Using hamlpy==0.82.2 and Django==1.6.1.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Testing for the empty value of two Django variables fails when using the HAML syntax but works with the Django templating syntax.
This failed:
This worked:
Using hamlpy==0.82.2 and Django==1.6.1.
The text was updated successfully, but these errors were encountered: