Changes between Initial Version and Version 1 of Ticket #23320, comment 1


Ignore:
Timestamp:
Aug 19, 2014, 7:41:09 PM (10 years ago)
Author:
Collin Anderson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23320, comment 1

    initial v1  
    1 Dates and times have the same behavior, btw but some fields do convert.
    2 
    3 `Model(date='2010-01-01').date == '2010-01-01'`
     1This is consistent with all fields.
     2{{{
     3Model(date='2010-01-01').date == '2010-01-01'
     4Model(decimal='0.1').decimal == '0.1'
     5Model(integer='6').integer == '6'
     6}}}
     7However, getting the data out of the database should work as expected:
     8{{{
     9Model.objects.get(id=Model.objects.create(float='0.6')).float == 0.6
     10}}}
Back to Top