Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Small massaging of docs/model-api.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d4abd6fb5265d711056a4350745a870ef39c5439 1 parent c604de5
Adrian Holovaty authored October 23, 2005

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  docs/model-api.txt
5  docs/model-api.txt
@@ -750,11 +750,12 @@ Here's a list of all possible ``META`` options. No options are required. Adding
750 750
 ``permissions``
751 751
     Extra permissions to enter into the permissions table when creating this
752 752
     object. Add, delete and change permissions are automatically created for
753  
-    each object. This option specifies extra permissions::
  753
+    each object that has ``admin`` set. This example specifies an extra
  754
+    permission, ``can_deliver_pizzas``::
754 755
 
755 756
         permissions = (("can_deliver_pizzas", "Can deliver pizzas"),)
756 757
 
757  
-    This is a list of 2-tuples of
  758
+    This is a list or tuple of 2-tuples in the format
758 759
     ``(permission_code, human_readable_permission_name)``.
759 760
 
760 761
 ``unique_together``

0 notes on commit d4abd6f

Please sign in to comment.
Something went wrong with that request. Please try again.