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