Browse files

[1.3.X] Fixed #16094 -- Added missing colon in custom permissions docs.

Backport of r16836 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 27c8d61 commit c9676d035fa885734abc7f539c1392b64db5fc9b @carljm carljm committed Sep 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/auth.txt
View
2 docs/topics/auth.txt
@@ -1261,7 +1261,7 @@ The only thing this does is create those extra permissions when you run
value of these permissions when an user is trying to access the functionality
provided by the application (viewing tasks, changing the status of tasks,
closing tasks.) Continuing the above example, the following checks if a user may
-view tasks:
+view tasks::
user.has_perm('app.view_task')

0 comments on commit c9676d0

Please sign in to comment.