Commits

Anonymous committed dc732eb

Fix #114: GenericRelations causing KeyErrors

Comments (0)

Files changed (1)

south/management/commands/startmigration.py

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