summaryrefslogtreecommitdiff
path: root/tests/regressiontests/app_loading/not_installed/models.py
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2011-04-27 15:46:43 +0000
committerCarl Meyer <carl@oddbird.net>2011-04-27 15:46:43 +0000
commitc85b765288b2c36c948493a99706550eaf41a0b5 (patch)
tree358dd76b5a7f35b9606b80006d69ce1822cc9638 /tests/regressiontests/app_loading/not_installed/models.py
parent2f9c52dc900f9cf689af23fbe5b4947ef97a924f (diff)
Fixed #15903 -- Allowed not-installed models to still be referenced in related fields. Missed case from r16053.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/app_loading/not_installed/models.py')
-rw-r--r--tests/regressiontests/app_loading/not_installed/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/regressiontests/app_loading/not_installed/models.py b/tests/regressiontests/app_loading/not_installed/models.py
index 615feefddb..f62235dfd5 100644
--- a/tests/regressiontests/app_loading/not_installed/models.py
+++ b/tests/regressiontests/app_loading/not_installed/models.py
@@ -3,3 +3,7 @@ from django.db import models
class NotInstalledModel(models.Model):
pass
+
+
+class RelatedModel(models.Model):
+ not_installed = models.ForeignKey(NotInstalledModel)