{"action":"created","issue":{"url":"https://api.github.com/repos/djangonauts/django-hstore/issues/123","labels_url":"https://api.github.com/repos/djangonauts/django-hstore/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/djangonauts/django-hstore/issues/123/comments","events_url":"https://api.github.com/repos/djangonauts/django-hstore/issues/123/events","html_url":"https://github.com/djangonauts/django-hstore/issues/123","id":89025867,"number":123,"title":"get_prep_value is not called on schema fields","user":{"login":"ktosiek","id":278013,"avatar_url":"https://avatars.githubusercontent.com/u/278013?v=3","gravatar_id":"","url":"https://api.github.com/users/ktosiek","html_url":"https://github.com/ktosiek","followers_url":"https://api.github.com/users/ktosiek/followers","following_url":"https://api.github.com/users/ktosiek/following{/other_user}","gists_url":"https://api.github.com/users/ktosiek/gists{/gist_id}","starred_url":"https://api.github.com/users/ktosiek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktosiek/subscriptions","organizations_url":"https://api.github.com/users/ktosiek/orgs","repos_url":"https://api.github.com/users/ktosiek/repos","events_url":"https://api.github.com/users/ktosiek/events{/privacy}","received_events_url":"https://api.github.com/users/ktosiek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/djangonauts/django-hstore/labels/needs-test","name":"needs-test","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-17T14:02:42Z","updated_at":"2015-06-29T12:44:39Z","closed_at":null,"body":"I have a custom field that uses to_python/get_prep_value to (de)serialize a custom object.\r\nSomething like `HandField` from https://docs.djangoproject.com/en/1.8/howto/custom-model-fields/.\r\n\r\nWhen I'm using that field in `hstore.DictionaryField` schema my object is cast to string which is not a sensible representation. I was expecting `DictionaryField` to clean values with `get_prep_value` before casting them to strings."},"comment":{"url":"https://api.github.com/repos/djangonauts/django-hstore/issues/comments/116644185","html_url":"https://github.com/djangonauts/django-hstore/issues/123#issuecomment-116644185","issue_url":"https://api.github.com/repos/djangonauts/django-hstore/issues/123","id":116644185,"user":{"login":"nemesisdesign","id":841044,"avatar_url":"https://avatars.githubusercontent.com/u/841044?v=3","gravatar_id":"","url":"https://api.github.com/users/nemesisdesign","html_url":"https://github.com/nemesisdesign","followers_url":"https://api.github.com/users/nemesisdesign/followers","following_url":"https://api.github.com/users/nemesisdesign/following{/other_user}","gists_url":"https://api.github.com/users/nemesisdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/nemesisdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemesisdesign/subscriptions","organizations_url":"https://api.github.com/users/nemesisdesign/orgs","repos_url":"https://api.github.com/users/nemesisdesign/repos","events_url":"https://api.github.com/users/nemesisdesign/events{/privacy}","received_events_url":"https://api.github.com/users/nemesisdesign/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T12:44:39Z","updated_at":"2015-06-29T12:44:39Z","body":"thank you @ktosiek, whenever you have time, it will be easier to address it and solve it.\r\n\r\nDo you think this is in anyway related to #114?"}}