Fixed #26522 -- Fixed a nondeterministic AssertionError in QuerySet combining.

Thanks Andrew Brown for the test case.
This commit is contained in:
Bo Marchman 2017-03-02 09:36:25 -05:00 committed by Tim Graham
parent dacdcec767
commit 9bbb6e2d25
4 changed files with 22 additions and 3 deletions

View file

@ -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