summaryrefslogtreecommitdiff
path: root/tests/auth_tests/templates/context_processors/auth_attrs_perms.html
blob: 6f441afc10b855d2ecec252abf7a485679e2c9ce (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.nonexisting %}nonexisting perm found{% endif %}
{% if perms.auth.nonexisting in perms %}auth.nonexisting perm found{% endif %}