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