mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31723 -- Fixed window functions crash with DecimalField on SQLite.
Thanks Simon Charette for the initial patch.
This commit is contained in:
committed by
Mariusz Felisiak
parent
2a55431a56
commit
71d10ca8c9
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user