mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31573 -- Made QuerySet.update() respect ordering on MariaDB/MySQL.
This commit is contained in:
committed by
Mariusz Felisiak
parent
060576b0ab
commit
779e615e36
@@ -41,3 +41,7 @@ class Foo(models.Model):
|
||||
class Bar(models.Model):
|
||||
foo = models.ForeignKey(Foo, models.CASCADE, to_field='target')
|
||||
m2m_foo = models.ManyToManyField(Foo, related_name='m2m_foo')
|
||||
|
||||
|
||||
class UniqueNumber(models.Model):
|
||||
number = models.IntegerField(unique=True)
|
||||
|
||||
Reference in New Issue
Block a user