summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2007-03-09 22:44:49 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2007-03-09 22:44:49 +0000
commit90f7616d5db0024a9183cfb995cbf675b17d4481 (patch)
treedbe98d757e4289ab4c9de6710b06e7f6f52b8e61
parentaa3661842791bcba85a4eded07c40d02a722f6eb (diff)
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
-rw-r--r--django/oldforms/__init__.py2
1 files changed, 1 insertions, 1 deletions
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()