summaryrefslogtreecommitdiff
path: root/tests/app_loading
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app_loading')
-rw-r--r--tests/app_loading/not_installed/models.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/app_loading/not_installed/models.py b/tests/app_loading/not_installed/models.py
index 1e4b59894c..09cf2ac6ed 100644
--- a/tests/app_loading/not_installed/models.py
+++ b/tests/app_loading/not_installed/models.py
@@ -2,12 +2,22 @@ from django.db import models
class NotInstalledModel(models.Model):
- pass
+
+ class Meta:
+ app_label = 'not_installed'
class RelatedModel(models.Model):
+
+ class Meta:
+ app_label = 'not_installed'
+
not_installed = models.ForeignKey(NotInstalledModel)
class M2MRelatedModel(models.Model):
+
+ class Meta:
+ app_label = 'not_installed'
+
not_installed = models.ManyToManyField(NotInstalledModel)