Skip to content

Commit

Permalink
Adding missing ' (to enclose the string).
Browse files Browse the repository at this point in the history
  • Loading branch information
randalldegges-okta-2 committed Feb 21, 2011
1 parent 3f3f06d commit b50fb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/check_decorator.txt
Expand Up @@ -81,7 +81,7 @@ Here is an example::


# views.py # views.py
from django.contrib.flatpages.models import Flatpage 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): def flatpage(required, url):
# ... # ...


Expand Down

0 comments on commit b50fb66

Please sign in to comment.