Commits

Anonymous committed 677586c

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

Comments (0)

Files changed (1)

django/core/formfields.py

         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()