Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newforms-admin: Fixed #4570. Added deafult 'inlines' attribute to Mod…

…elAdmin.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a8687b5dc4c5e462b8740d574a25ab01c283cf4a 1 parent c58ff68
Joseph Kocherhans jkocherhans authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/admin/options.py
1  django/contrib/admin/options.py
View
@@ -186,6 +186,7 @@ class ModelAdmin(object):
prepopulated_fields = {}
filter_vertical = ()
filter_horizontal = ()
+ inlines = []
def __init__(self, model):
self.model = model
Please sign in to comment.
Something went wrong with that request. Please try again.