Fixed #31723 -- Fixed window functions crash with DecimalField on SQLite.

Thanks Simon Charette for the initial patch.
This commit is contained in:
Hasan Ramezani 2020-09-22 15:01:52 +02:00 committed by Mariusz Felisiak
parent 2a55431a56
commit 71d10ca8c9
3 changed files with 42 additions and 2 deletions

View file

@ -12,3 +12,4 @@ class Employee(models.Model):
hire_date = models.DateField(blank=False, null=False)
age = models.IntegerField(blank=False, null=False)
classification = models.ForeignKey('Classification', on_delete=models.CASCADE, null=True)
bonus = models.DecimalField(decimal_places=2, max_digits=15, null=True)