mirror of
https://github.com/jazzband/django-authority.git
synced 2026-05-12 09:33:11 +00:00
commit
2288ccdf36
2 changed files with 2 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ def ifhasperm(parser, token):
|
|||
meh
|
||||
{% endifhasperm %}
|
||||
|
||||
{% if hasperm "poll_permission.change_poll" request.user %}
|
||||
{% ifhasperm "poll_permission.change_poll" request.user %}
|
||||
lalala
|
||||
{% else %}
|
||||
meh
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ Syntax::
|
|||
|
||||
Example::
|
||||
|
||||
{% if hasperm "poll_permission.change_poll" request.user %}
|
||||
{% ifhasperm "poll_permission.change_poll" request.user %}
|
||||
lalala
|
||||
{% else %}
|
||||
meh
|
||||
|
|
|
|||
Loading…
Reference in a new issue