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

[1.10.x] Refs #26983 -- Added test for isnull lookup to CharField with primary_key=True.

Backport of 97513269d7 from master
This commit is contained in:
Chris Lamb
2016-08-17 21:09:50 +01:00
committed by Tim Graham
parent 04f0c2ab39
commit c24a47b3e6
3 changed files with 13 additions and 3 deletions

View File

@@ -261,7 +261,7 @@ class CustomPk(models.Model):
class Related(models.Model):
custom = models.ForeignKey(CustomPk, models.CASCADE)
custom = models.ForeignKey(CustomPk, models.CASCADE, null=True)
class CustomPkTag(models.Model):