#36030: Expressions that divide an integer field by a constant decimal.Decimal
returns inconsistent decimal places on SQLite
-------------------------------------+-------------------------------------
Reporter: Bartłomiej Nowak | Owner: Gregory
| Mariani
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: division | Triage Stage: Accepted
decimalfield |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Gregory Mariani):
I didn't get ping on this thread sorry for my late answer. During my
investigation I get error for both SQLite and Postgre that's right.
Another point, like I said on github, it could be useful to integrate
"earlier" the Value type in the code execution. It probably will be a
breaking change but we could easily simplify mostly of the functions which
have "specials" calculation due to their type (decimal, duration,
others...).
That's all for my report to the ORM team
--
Ticket URL: <https://code.djangoproject.com/ticket/36030#comment:23>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019aa096d651-50d26a48-03ed-49cc-a33e-39c38c9fc26e-000000%40eu-central-1.amazonses.com.