Commits

and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8  committed dc732eb

Fix #114: GenericRelations causing KeyErrors

  • Participants
  • Parent commits 4620c51

Comments (0)

Files changed (1)

File south/management/commands/startmigration.py

                     )
                 continue
             
+            # GenericRelations need ignoring
+            if isinstance(field, GenericRelation):
+                continue
+            
             # Add any dependencies
             stub_models.update(field_dependencies(field))