1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #26219 -- Fixed crash when filtering by Decimal in RawQuery.

This commit is contained in:
Akshesh
2016-02-16 20:33:37 +05:30
committed by Tim Graham
parent 88034c9938
commit fdccc02576
4 changed files with 11 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ class BookFkAsPk(models.Model):
class Coffee(models.Model):
brand = models.CharField(max_length=255, db_column="name")
price = models.DecimalField(max_digits=10, decimal_places=2, default=0)
class Reviewer(models.Model):