summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2011-09-16 10:53:15 +0000
committerCarl Meyer <carl@oddbird.net>2011-09-16 10:53:15 +0000
commite5090a3b2abadeea9f300269055e723d26f9918b (patch)
tree5998cb32d508969aa70dc52cb81ddfaf8dcb2687 /docs
parentdef775ae5ea59b053ffd80fb5c43a930452ae275 (diff)
Fixed #16094 -- Added missing colon in custom permissions docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
index 285406eafc..6dcf5488ab 100644
--- a/docs/topics/auth.txt
+++ b/docs/topics/auth.txt
@@ -1394,7 +1394,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')
@@ -1753,4 +1753,4 @@ Handling object permissions
Django's permission framework has a foundation for object permissions, though
there is no implementation for it in the core. That means that checking for
object permissions will always return ``False`` or an empty list (depending on
-the check performed). \ No newline at end of file
+the check performed).