1. Luke Plant
  2. django

Commits

uber...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 677586c

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

  • Participants
  • Parent commits 3a71aee
  • Branches 0.91-bugfixes

Comments (0)

Files changed (1)

File django/core/formfields.py

View file
  • Ignore whitespace
         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()