1
0
mirror of https://github.com/django/django.git synced 2025-10-26 23:26:08 +00:00

newforms-admin: Moved ordering from AdminOptions to ModelAdmin.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@4337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2007-01-16 00:57:56 +00:00
parent f72a100b53
commit 052363fb8b
4 changed files with 3 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ class ModelAdmin(object):
search_fields = ()
date_hierarchy = None
save_as = False
ordering = None
def __init__(self, model):
self.model = model