mirror of
https://github.com/django/django.git
synced 2025-07-05 10:19:20 +00:00
newforms-admin: Fixed #4570. Added deafult 'inlines' attribute to ModelAdmin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c58ff68881
commit
a8687b5dc4
@ -186,6 +186,7 @@ class ModelAdmin(object):
|
|||||||
prepopulated_fields = {}
|
prepopulated_fields = {}
|
||||||
filter_vertical = ()
|
filter_vertical = ()
|
||||||
filter_horizontal = ()
|
filter_horizontal = ()
|
||||||
|
inlines = []
|
||||||
|
|
||||||
def __init__(self, model):
|
def __init__(self, model):
|
||||||
self.model = model
|
self.model = model
|
||||||
|
Loading…
x
Reference in New Issue
Block a user