#4287: FloatField will not handle infinity values
-------------------------------------+-------------------------------------
Reporter: oBeattie | Owner: nobody
(oliver@… | Status: new
Type: Bug | Component: Database layer
Milestone: | (models, ORM)
Version: SVN | Severity: Normal
Resolution: | Keywords: infinity, mysql,
Triage Stage: Accepted | float
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 0 | Needs tests: 1
UI/UX: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by calmez):
* cc: calmez (added)
* ui_ux: => 0
Comment:
I did another patch that adds the feature to enable saving infinity values
on !FloatFields. After enabling this a check happens if the used database
is supporting this. By default this support is disabled. I enabled it for
the sqlite backend since it can store infinity values in float columns.
Now the user can decide to be able to store infinity. If the user's setup
does not allow storing infinity the reaction to that will be more
appropriate.
--
Ticket URL: <https://code.djangoproject.com/ticket/4287#comment:7>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.