1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.7.x] Fixed #22970: Incorrect dependencies for existing migrated apps

This commit is contained in:
Andrew Godwin
2014-07-09 23:53:16 -07:00
parent a3d710a38f
commit aba75e73db
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