mirror of https://github.com/django/django.git
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:
parent
aa36618427
commit
90f7616d5d
|
@ -225,7 +225,7 @@ class InlineObjectCollection(object):
|
|||
self.data = data
|
||||
self.errors = errors
|
||||
self._collections = None
|
||||
self.name = rel_obj.opts.module_name
|
||||
self.name = rel_obj.name
|
||||
|
||||
def __len__(self):
|
||||
self.fill()
|
||||
|
|
Loading…
Reference in New Issue