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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user