summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-03-09 17:11:51 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-03-09 17:11:51 +0000
commitaa3661842791bcba85a4eded07c40d02a722f6eb (patch)
tree0cb0a462718a03345e9639ff9c5b7e17da6aa402
parentab64b383177f8e554c876d7c8574df6169ecc515 (diff)
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
-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 decf0f7064..e43bc9fa42 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()