From c9676d035fa885734abc7f539c1392b64db5fc9b Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Fri, 16 Sep 2011 10:57:53 +0000 Subject: [PATCH] [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 --- docs/topics/auth.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index 14bff48193..5a2608a3a7 100644 --- a/docs/topics/auth.txt +++ b/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')