diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-10-23 22:43:54 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-10-23 22:43:54 +0000 |
| commit | d4abd6fb5265d711056a4350745a870ef39c5439 (patch) | |
| tree | 4ed66d2f6723747ad5aeea7cf69eb6a1168168b5 /docs | |
| parent | c604de5a5db2cff33ad78ad8565fcb9b05e405f6 (diff) | |
Small massaging of docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/model-api.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt index fa6d8f10e6..3522585e7a 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -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`` |
