Rolled back [4693] -- it seems to be breaking edit_inline all over the place. Better fix is forthcoming :)

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2007-03-09 22:44:49 +00:00
parent aa36618427
commit 90f7616d5d
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ class InlineObjectCollection(object):
self.data = data self.data = data
self.errors = errors self.errors = errors
self._collections = None self._collections = None
self.name = rel_obj.opts.module_name self.name = rel_obj.name
def __len__(self): def __len__(self):
self.fill() self.fill()