0.91-bugfixes: backporting [4693] as the other half of the fix in [4673]

git-svn-id: http://code.djangoproject.com/svn/django/branches/0.91-bugfixes@4694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
James Bennett 2007-03-09 17:42:47 +00:00
parent 8a0fa75839
commit f46f052e05
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class InlineObjectCollection:
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()