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

newforms-admin: Moved js from AdminOptions to ModelAdmin.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@4340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2007-01-17 01:44:00 +00:00
parent a2b25f7216
commit 626e6d4eb9
3 changed files with 4 additions and 5 deletions

View File

@@ -43,6 +43,7 @@ class ModelAdmin(object):
save_as = False
save_on_top = False
ordering = None
js = None
def __init__(self, model):
self.model = model