1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #22970: Incorrect dependencies for existing migrated apps

This commit is contained in:
Andrew Godwin
2014-07-09 23:53:16 -07:00
parent b7455b52a0
commit 008bff92b7
4 changed files with 75 additions and 7 deletions

View File

@@ -42,3 +42,11 @@ class UnserializableModel(models.Model):
class Meta:
# Disable auto loading of this model as we load it on our own
apps = Apps()
class UnmigratedModel(models.Model):
"""
A model that is in a migration-less app (which this app is
if its migrations directory has not been repointed)
"""
pass