toastdriven/django-tastypie — pull request #653 by warvariuc (2012-09-05 07:48:56+00:00)
Title: Using create_response to create the responses in Resource._handle_500 

This one of the changes needed to be able to customize response format to smth like {"status": response_status_code, "errors": [{"code": error_code, "message": error_message, "traceback": traceback_if_allowed},], "data": {...}}