Re: [Django] #4518: Null string in DecimalField results in error: decimal.py _raise_error, line 2267

2 views
Skip to first unread message

Django

unread,
Aug 9, 2017, 6:02:46 PM8/9/17
to django-...@googlegroups.com
#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.

Reply all
Reply to author
Forward
0 new messages