Closed ashchristopher closed 13 years ago
If data is an AJAXError return the response generated by the error since the DjangoJSONEncoder does not encode objects.
This fixes issue #12 that I reported.
BTW, I added a slight tweak in json_response that will allow you to return AJAXError now. I also fixed the documentation.
json_response
AJAXError
If data is an AJAXError return the response generated by the error since the DjangoJSONEncoder does not encode objects.
This fixes issue #12 that I reported.