Changes between Initial Version and Version 1 of Ticket #29147, comment 9
- Timestamp:
- Mar 20, 2018, 12:17:24 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29147, comment 9
initial v1 7 7 8 8 {{{ 9 from django.db.models import BooleanField, CharField, NumberField 10 from django.contrib.postgres import fields 11 12 CharField.to_python(None, 'hello') 9 >> from django.db.models import BooleanField, CharField, NumberField 10 >> from django.contrib.postgres import fields 11 >> CharField.to_python(None, 'hello') 13 12 'hello' 14 IntegerField.to_python(None, '123')13 >> IntegerField.to_python(None, '123') 15 14 123 16 BooleanField.to_python(None, 'True')15 >> BooleanField.to_python(None, 'True') 17 16 True 18 fields.HStoreField.to_python(None, '{"hello": "world"}')17 >> fields.HStoreField.to_python(None, '{"hello": "world"}') 19 18 {'hello': 'world'} 20 19 }}} … … 23 22 24 23 {{{ 25 fields.JSONField.to_python(None, '{"hello": "world"}')24 >> fields.JSONField.to_python(None, '{"hello": "world"}') 26 25 '{"hello": "world"}' 27 26 }}}