summaryrefslogtreecommitdiff
path: root/tests/auth_tests/templates/context_processors/auth_attrs_perms.html
blob: b1c829bd989f65e5ecc22fb100760f49904e8719 (plain)
1
2
3
4
{% if perms.auth %}Has auth permissions{% endif %}
{% if perms.auth.add_permission %}Has auth.add_permission permissions{% endif %}
{% if perms.nonexistent %}nonexistent perm found{% endif %}
{% if perms.auth.nonexistent in perms %}auth.nonexistent perm found{% endif %}