mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least and Greatest.
This commit is contained in:
committed by
Tim Graham
parent
d5977e492e
commit
068d75688f
@@ -49,3 +49,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)
|
||||
|
||||
Reference in New Issue
Block a user