diff options
| author | Joseph Kocherhans <joseph@jkocherhans.com> | 2007-06-15 15:34:39 +0000 |
|---|---|---|
| committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2007-06-15 15:34:39 +0000 |
| commit | a8687b5dc4c5e462b8740d574a25ab01c283cf4a (patch) | |
| tree | 882ecfd6ac80a39719ae4bc198eb0fc16d20401f | |
| parent | c58ff68881376a58d1285e7cfd7de3e53766626a (diff) | |
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
| -rw-r--r-- | django/contrib/admin/options.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
