Debian Codegraph @

tests/auth_tests/templates/context_processors/auth_attrs_perm_in_perms.html

raw
1 {% if 'auth' in perms %}Has auth permissions{% endif %}
2 {% if 'auth.add_permission' in perms %}Has auth.add_permission permissions{% endif %}
3 {% if 'nonexistent' in perms %}nonexistent perm found{% endif %}
4 {% if 'auth.nonexistent' in perms %}auth.nonexistent perm found{% endif %}