summaryrefslogtreecommitdiff
path: root/tests/app_loading/not_installed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app_loading/not_installed')
-rw-r--r--tests/app_loading/not_installed/__init__.py0
-rw-r--r--tests/app_loading/not_installed/models.py13
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/app_loading/not_installed/__init__.py b/tests/app_loading/not_installed/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/app_loading/not_installed/__init__.py
diff --git a/tests/app_loading/not_installed/models.py b/tests/app_loading/not_installed/models.py
new file mode 100644
index 0000000000..1e4b59894c
--- /dev/null
+++ b/tests/app_loading/not_installed/models.py
@@ -0,0 +1,13 @@
+from django.db import models
+
+
+class NotInstalledModel(models.Model):
+ pass
+
+
+class RelatedModel(models.Model):
+ not_installed = models.ForeignKey(NotInstalledModel)
+
+
+class M2MRelatedModel(models.Model):
+ not_installed = models.ManyToManyField(NotInstalledModel)