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

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

Thanks Matt Westcott for the report.

Regression in 779e615e36.
Backport of ca98729055 from main
This commit is contained in:
Mariusz Felisiak
2021-04-14 21:11:17 +02:00
parent d0267690f8
commit 208e72276a
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