From 90f7616d5db0024a9183cfb995cbf675b17d4481 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Fri, 9 Mar 2007 22:44:49 +0000 Subject: [PATCH] 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 --- 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 e43bc9fa42..decf0f7064 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.opts.module_name + self.name = rel_obj.name def __len__(self): self.fill()