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:
Malcolm Tredinnick 2007-03-09 17:11:51 +00:00
parent ab64b38317
commit aa36618427
1 changed files with 1 additions and 1 deletions

View File

@ -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()