From aa3661842791bcba85a4eded07c40d02a722f6eb Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 9 Mar 2007 17:11:51 +0000 Subject: [PATCH] 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 --- django/oldforms/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/oldforms/__init__.py b/django/oldforms/__init__.py index decf0f7064f..e43bc9fa426 100644 --- a/django/oldforms/__init__.py +++ b/django/oldforms/__init__.py @@ -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()