Changes between Version 1 and Version 5 of Ticket #26215


Ignore:
Timestamp:
02/15/2016 11:23:07 AM (4 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 Patch needs improvement set
    • Property Component changed from Database layer (models, ORM) to contrib.postgres
    • Property Summary changed from if dumpdata FloatRangeField and IntegerRangeField values = "None" and post loaddata is ValidationError to FloatRangeField/IntegerRangeField with None as a range boundary doesn't round trip in serialization
    • Property Has patch set
    • Property Triage Stage changed from Unreviewed to Accepted
  • 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