Kaydet (Commit) e5090a3b authored tarafından Carl Meyer's avatar Carl Meyer

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
üst def775ae
...@@ -1394,7 +1394,7 @@ The only thing this does is create those extra permissions when you run ...@@ -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 value of these permissions when an user is trying to access the functionality
provided by the application (viewing tasks, changing the status of tasks, provided by the application (viewing tasks, changing the status of tasks,
closing tasks.) Continuing the above example, the following checks if a user may closing tasks.) Continuing the above example, the following checks if a user may
view tasks: view tasks::
user.has_perm('app.view_task') user.has_perm('app.view_task')
...@@ -1753,4 +1753,4 @@ Handling object permissions ...@@ -1753,4 +1753,4 @@ Handling object permissions
Django's permission framework has a foundation for object permissions, though 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 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 object permissions will always return ``False`` or an empty list (depending on
the check performed). the check performed).
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment