1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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
This commit is contained in:
Carl Meyer
2011-04-27 15:46:43 +00:00
parent 2f9c52dc90
commit c85b765288
4 changed files with 36 additions and 7 deletions

View File

@@ -3,3 +3,7 @@ from django.db import models
class NotInstalledModel(models.Model):
pass
class RelatedModel(models.Model):
not_installed = models.ForeignKey(NotInstalledModel)