mirror of
https://github.com/django/django.git
synced 2025-08-07 20:38:21 +00:00
[1.11.x] Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least and Greatest.
Backport of 068d75688f
from master
This commit is contained in:
parent
d476fa96ac
commit
8484cf4cd0
4 changed files with 29 additions and 5 deletions
|
@ -56,3 +56,8 @@ class DTModel(models.Model):
|
|||
|
||||
def __str__(self):
|
||||
return 'DTModel({0})'.format(self.name)
|
||||
|
||||
|
||||
class DecimalModel(models.Model):
|
||||
n1 = models.DecimalField(decimal_places=2, max_digits=6)
|
||||
n2 = models.DecimalField(decimal_places=2, max_digits=6)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue