Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField.

This reverts commit a146b65628 and adds
a test for the regression.
This commit is contained in:
Sergey Fedoseev 2017-12-12 19:07:01 +05:00 committed by Tim Graham
parent 30a389bd77
commit 6fd6d8383f
3 changed files with 12 additions and 6 deletions

View file

@ -26,3 +26,6 @@ Bugfixes
* Corrected admin check to allow a ``OneToOneField`` in
``ModelAdmin.autocomplete_fields`` (:ticket:`28898`).
* Fixed a regression on SQLite where ``DecimalField`` returned a result with
trailing zeros in the fractional part truncated (:ticket:`28915`).