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:
@@ -3,3 +3,7 @@ from django.db import models
|
||||
|
||||
class NotInstalledModel(models.Model):
|
||||
pass
|
||||
|
||||
|
||||
class RelatedModel(models.Model):
|
||||
not_installed = models.ForeignKey(NotInstalledModel)
|
||||
|
||||
Reference in New Issue
Block a user