From a8687b5dc4c5e462b8740d574a25ab01c283cf4a Mon Sep 17 00:00:00 2001 From: Joseph Kocherhans Date: Fri, 15 Jun 2007 15:34:39 +0000 Subject: [PATCH] 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 --- django/contrib/admin/options.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index b7458134c1..4d0c7c8eee 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -186,6 +186,7 @@ class ModelAdmin(object): prepopulated_fields = {} filter_vertical = () filter_horizontal = () + inlines = [] def __init__(self, model): self.model = model