1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

newforms-admin: Moved save_as from AdminOptions to ModelAdmin.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@4333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2007-01-16 00:35:25 +00:00
parent dcbfd3fa83
commit 7ffbc9d22c
4 changed files with 6 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ class ModelAdmin(object):
list_display_links = ()
list_filter = ()
date_hierarchy = None
save_as = False
def __init__(self, model):
self.model = model