Fixed a backwards-incompability problem with inline related form fields that I
accidently introduced in r4676. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ab64b38317
commit
aa36618427
|
@ -225,7 +225,7 @@ class InlineObjectCollection(object):
|
|||
self.data = data
|
||||
self.errors = errors
|
||||
self._collections = None
|
||||
self.name = rel_obj.name
|
||||
self.name = rel_obj.opts.module_name
|
||||
|
||||
def __len__(self):
|
||||
self.fill()
|
||||
|
|
Loading…
Reference in New Issue