django-json-rpc
django-json-rpc copied to clipboard
Does not serialize Models and QuerySets successfully in Django 1.2
I had issues with the library trying to serialise QuerySets and Models. In the case of Models, it tries to serialise one of the internal Django attributes, and fails.
I've written a patch around it -- it's not pretty but seems to do the job.
Patch: http://pastebin.com/urChqVny
I will review this and include soon, thanks for the patch.
http://www.python.org/doc//current/library/json.html#encoders-and-decoders