Commits

Andrew Godwin committed 0aa5b5f

Properly fix recursion issue.

  • Participants
  • Parent commits 6a5497f

Comments (0)

Files changed (1)

south/management/commands/startmigration.py

         if checked_model == model or checked_model in checked_models:
             continue
         checked_models.add(checked_model)
-        deps = model_dependencies(checked_model, last_models)
+        deps = model_dependencies(checked_model, last_models, checked_models)
         # Loop through dependencies...
         for dep, value in deps.items():
             # If the new dep is not already checked, add to the queue