django/django — pull request #2477 by loic (2014-03-25 18:36:10+00:00)
Title: Fixed #22331 -- Made MigrationAutodetector ignore unmanaged models.

This commit reverts 69d4b1c and tackle the issue from a different angle.
Models remain present in the project state, but are now ignored by the
autodetector.