alexandermorozov/rpc4django — comment on commit 699c08b402e0d2b1b6dce1b9677b9abf4c981be1
File:  line 0
By elpaso:

I was just adding an issue about the failuers in json.dumps when dealing with datetime or decimal data types. Your commit seems a suitable solution, Ive' found that

from django.core.serializers.json import DjangoJSONEncoder
json.dumps(results, cls=DjangoJSONEncoder)

also works fine.