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 in779e615e36. Backport ofca98729055from main
This commit is contained in:
@@ -45,3 +45,7 @@ class Bar(models.Model):
|
||||
|
||||
class UniqueNumber(models.Model):
|
||||
number = models.IntegerField(unique=True)
|
||||
|
||||
|
||||
class UniqueNumberChild(UniqueNumber):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user