mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Fixed #24525 -- Fixed AssertionError in some complex queries.
Thanks Anssi Kääriäinen for providing the solution.
This commit is contained in:
parent
e7b7f94678
commit
2dc9ec5616
4 changed files with 19 additions and 4 deletions
|
|
@ -49,6 +49,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, models.SET_NULL, blank=True, null=True)
|
||||
|
||||
class Meta:
|
||||
ordering = ['note']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue