Changes between Version 1 and Version 5 of Ticket #26215


Ignore:
Timestamp:
Feb 15, 2016, 11:23:07 AM (9 years ago)
Author:
Tim Graham
Comment:

I've understood the problem now and attached a test. Not sure if the proposed fix is correct.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26215

    • Property Cc Алексей added
    • Property Component Database layer (models, ORM)contrib.postgres
    • Property Has patch set
    • Property Patch needs improvement set
    • Property Triage Stage UnreviewedAccepted
    • Property Summary if dumpdata FloatRangeField and IntegerRangeField values = "None" and post loaddata is ValidationErrorFloatRangeField/IntegerRangeField with None as a range boundary doesn't round trip in serialization
  • Ticket #26215 – Description

    v1 v5  
    55Conversion problem. accept string u'None' to float type
    66
    7 Track:
     7Traceback:
     8{{{
    89  File "/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 1803, in to_python
    910    params={'value': value},
    10 
     11}}}
    1112Decision:
    1213
Back to Top