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

Fixing #129: ManyToMany and inheritance FAIL.

  • Participants
  • Parent commits 11031c1

Comments (0)

Files changed (1)

File south/

     # Go through all bases (that are themselves models, but not Model)
     for base in model.__bases__:
         if base != models.Model and issubclass(base, models.Model):
-            inherited_fields.update(get_model_fields(base))
+            inherited_fields.update(get_model_fields(base, m2m))
     # Now, go through all the fields and try to get their definition
     source = model._meta.local_fields[:]