Changes between Initial Version and Version 1 of Ticket #23320, comment 1
- Timestamp:
- Aug 19, 2014, 7:41:09 PM (10 years ago)
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'` 1 This is consistent with all fields. 2 {{{ 3 Model(date='2010-01-01').date == '2010-01-01' 4 Model(decimal='0.1').decimal == '0.1' 5 Model(integer='6').integer == '6' 6 }}} 7 However, getting the data out of the database should work as expected: 8 {{{ 9 Model.objects.get(id=Model.objects.create(float='0.6')).float == 0.6 10 }}}