mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Small massaging of docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -750,11 +750,12 @@ Here's a list of all possible ``META`` options. No options are required. Adding | ||||
| ``permissions`` | ||||
|     Extra permissions to enter into the permissions table when creating this | ||||
|     object. Add, delete and change permissions are automatically created for | ||||
|     each object. This option specifies extra permissions:: | ||||
|     each object that has ``admin`` set. This example specifies an extra | ||||
|     permission, ``can_deliver_pizzas``:: | ||||
|  | ||||
|         permissions = (("can_deliver_pizzas", "Can deliver pizzas"),) | ||||
|  | ||||
|     This is a list of 2-tuples of | ||||
|     This is a list or tuple of 2-tuples in the format | ||||
|     ``(permission_code, human_readable_permission_name)``. | ||||
|  | ||||
| ``unique_together`` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user