Commits

Andrew Godwin  committed dbbb515

Fix deleting single uniques

  • Participants
  • Parent commits 0220a56

Comments (0)

Files changed (1)

File south/management/commands/startmigration.py

             
             # Uniques need merging
             added_uniques = added_uniques.union(afu)
-            deleted_uniques = deleted_uniques.union(dfu)
+            
+            for mkey, entry in dfu:
+                deleted_uniques.add((mkey, entry, last_orm[mkey]))
         
         
         ### Added model ###