diff options
| author | Tim Graham <timograham@gmail.com> | 2015-08-20 12:46:14 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-05 08:19:38 -0400 |
| commit | 62347208bb0cef6990699d7373fa06e2e12ead07 (patch) | |
| tree | 843d89b762630dc6a290d98edc0aa26763b5fada /tests/queries/models.py | |
| parent | f1d6b5b5b1c8a3461e7bb90760531cf5725b59be (diff) | |
[1.8.x] Fixed #24525 -- Fixed AssertionError in some complex queries.
Thanks Anssi Kääriäinen for providing the solution.
Backport of 2dc9ec5616a942de3a0886a707f93988f56dd594 from master
Diffstat (limited to 'tests/queries/models.py')
| -rw-r--r-- | tests/queries/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/queries/models.py b/tests/queries/models.py index 5d63ae9ea8..81f3b3f390 100644 --- a/tests/queries/models.py +++ b/tests/queries/models.py @@ -45,6 +45,7 @@ class Tag(models.Model): class Note(models.Model): note = models.CharField(max_length=100) misc = models.CharField(max_length=10) + tag = models.ForeignKey(Tag, blank=True, null=True) class Meta: ordering = ['note'] |
