#36233: Specific DecimalField with max_digits > 15 can be stored but not
retrieved
on SQLite
-------------------------------------+-------------------------------------
Reporter: Orazio | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: sqlite, orm, | Triage Stage: Accepted
decimalfield, invalidoperation |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Hridesh MG):
* stage: Unreviewed => Accepted
Comment:
Was able to reproduce this issue, also noticed that it triggers on a
specific number - i.e. test = Apple(weight=9999999999999994) seems to work
fine but the moment weight becomes 9999999999999995 it starts to throw the
error
--
Ticket URL: <https://code.djangoproject.com/ticket/36233#comment:1>
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/010701956caa331b-5779f360-422f-4a78-9fdd-88240a26679e-000000%40eu-central-1.amazonses.com.