mirror of
https://github.com/jazzband/django-authority.git
synced 2026-03-16 22:20:28 +00:00
Adding missing ' (to enclose the string).
This commit is contained in:
parent
3f3f06dda0
commit
b50fb66512
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ Here is an example::
|
|||
|
||||
# views.py
|
||||
from django.contrib.flatpages.models import Flatpage
|
||||
@permission_required('flatpage_permission.can_do_foo', (Flatpage, 'url__iexact', 'url))
|
||||
@permission_required('flatpage_permission.can_do_foo', (Flatpage, 'url__iexact', 'url'))
|
||||
def flatpage(required, url):
|
||||
# ...
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue