mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Fixed #26522 -- Fixed a nondeterministic AssertionError in QuerySet combining.
Thanks Andrew Brown for the test case.
This commit is contained in:
parent
dacdcec767
commit
9bbb6e2d25
4 changed files with 22 additions and 3 deletions
|
@ -663,6 +663,11 @@ class Classroom(models.Model):
|
|||
students = models.ManyToManyField(Student, related_name='classroom')
|
||||
|
||||
|
||||
class Teacher(models.Model):
|
||||
schools = models.ManyToManyField(School)
|
||||
friends = models.ManyToManyField('self')
|
||||
|
||||
|
||||
class Ticket23605AParent(models.Model):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue