mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least and Greatest.
This commit is contained in:
parent
d5977e492e
commit
068d75688f
4 changed files with 29 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue