1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #32645 -- Fixed QuerySet.update() crash when ordered by joined fields on MySQL/MariaDB.

Thanks Matt Westcott for the report.

Regression in 779e615e36.
This commit is contained in:
Mariusz Felisiak
2021-04-14 21:11:17 +02:00
committed by GitHub
parent 338eb65b6e
commit ca98729055
5 changed files with 47 additions and 3 deletions

View File

@@ -45,3 +45,7 @@ class Bar(models.Model):
class UniqueNumber(models.Model):
number = models.IntegerField(unique=True)
class UniqueNumberChild(UniqueNumber):
pass