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

[1.11.x] Fixed #26522 -- Fixed a nondeterministic AssertionError in QuerySet combining.

Thanks Andrew Brown for the test case.

Backport of 9bbb6e2d25 from master
This commit is contained in:
Bo Marchman
2017-03-02 09:36:25 -05:00
committed by Tim Graham
parent 511dfb336f
commit 8d66bffbae
5 changed files with 25 additions and 4 deletions

View File

@@ -709,6 +709,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