mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #26522 -- Fixed a nondeterministic AssertionError in QuerySet combining.
Thanks Andrew Brown for the test case.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user