mirror of
				https://github.com/django/django.git
				synced 2025-10-26 23:26:08 +00:00 
			
		
		
		
	[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
This commit is contained in:
		| @@ -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 | 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') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user