mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #31723 -- Fixed window functions crash with DecimalField on SQLite.
Thanks Simon Charette for the initial patch.
This commit is contained in:
parent
2a55431a56
commit
71d10ca8c9
3 changed files with 42 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue