mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Removed unused model option "admin"
This commit is contained in:
parent
1123f45511
commit
5df84b268d
2 changed files with 2 additions and 4 deletions
|
@ -227,9 +227,8 @@ Django quotes column and table names behind the scenes.
|
|||
.. attribute:: Options.permissions
|
||||
|
||||
Extra permissions to enter into the permissions table when creating this object.
|
||||
Add, delete and change permissions are automatically created for each object
|
||||
that has ``admin`` set. This example specifies an extra permission,
|
||||
``can_deliver_pizzas``::
|
||||
Add, delete and change permissions are automatically created for each
|
||||
model. This example specifies an extra permission, ``can_deliver_pizzas``::
|
||||
|
||||
permissions = (("can_deliver_pizzas", "Can deliver pizzas"),)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue