summaryrefslogtreecommitdiff
path: root/django/models/auth.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-21 03:46:16 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-21 03:46:16 +0000
commitc21f6ecee24c6587bb8ddddc878aad3fd29b40a7 (patch)
treec419bdcc72c6e001a58dda127035474cf1800973 /django/models/auth.py
parent304b08e3254f7c46999d1204ce9968c00ad088eb (diff)
Fixed #92 -- meta.Admin 'fields' parameter is now optional. If it's not given, Django will use all editable fields by default. This cuts down on redundancy. Also updated relevant docs to reflect the change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/models/auth.py')
-rw-r--r--django/models/auth.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/models/auth.py b/django/models/auth.py
index 4d3f6394a1..516ec112df 100644
--- a/django/models/auth.py
+++ b/django/models/auth.py
@@ -20,9 +20,6 @@ class Group(meta.Model):
)
ordering = (('name', 'ASC'),)
admin = meta.Admin(
- fields = (
- (None, {'fields': ('name', 'permissions')}),
- ),
search_fields = ('name',),
)