derek-schaefer / django-json-field

Generic JSON model and form fields.
BSD 3-Clause "New" or "Revised" License
122 stars 86 forks source link

Expand on the field #4

Closed mjtorn closed 12 years ago

mjtorn commented 12 years ago

Hi!

I opened an issue for getting json instead of the real object back from _value_fromobject but I also fixed it in a fork.

I also added a getter and setter in _contribute_toclass

Would be nice to see these in, to not need to maintain a fork :)

Cheers!

mjtorn commented 12 years ago

The _value_fromobject change makes the admin form look horrible. Going to remove that (changed my code already to not require that change). get_ and set_json to class is still valid, though, so I'll do that in another pull request.