diff options
Diffstat (limited to 'tests/app_loading/not_installed/models.py')
| -rw-r--r-- | tests/app_loading/not_installed/models.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/app_loading/not_installed/models.py b/tests/app_loading/not_installed/models.py index 44a9d93c98..8a881a9996 100644 --- a/tests/app_loading/not_installed/models.py +++ b/tests/app_loading/not_installed/models.py @@ -2,22 +2,19 @@ from django.db import models class NotInstalledModel(models.Model): - class Meta: - app_label = 'not_installed' + app_label = "not_installed" class RelatedModel(models.Model): - class Meta: - app_label = 'not_installed' + app_label = "not_installed" not_installed = models.ForeignKey(NotInstalledModel, models.CASCADE) class M2MRelatedModel(models.Model): - class Meta: - app_label = 'not_installed' + app_label = "not_installed" not_installed = models.ManyToManyField(NotInstalledModel) |
