#4518: Null string in DecimalField results in error: decimal.py _raise_error,
line 2267
-------------------------------------+-------------------------------------
Reporter: Richard House | Owner: Adrian
<Richard.House@…> | Holovaty
Type: | Status: closed
Component: Core (Other) | Version: master
Severity: | Resolution: fixed
Keywords: DecimalField | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
In [changeset:"bb91c0a4dcad89ec9ad14306e9708d11ea385444" bb91c0a4]:
{{{
#!CommitTicketReference repository=""
revision="bb91c0a4dcad89ec9ad14306e9708d11ea385444"
Refs #4518 -- Removed handling of empty strings in typecast_decimal().
It's unclear if the original change was needed, but it seems unneeded now.
Reverted 6fc10f50b0c9b877fffcad4893056cb91fa66b4f.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/4518#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/099.b5b1bdfc232a7fd1c917a9c331f36d9d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.