What's the file containing the problem?
/reviews/json.py
What steps will reproduce the problem?
1. Write a JSON client that attempts to call the
/api/json/reviewrequests/<id>/draft/set/ interface with a key/value pair.
2. Fix the undefined variable problem (issue #94)
What is the expected output? What do you see instead?
The server should returned the updated draft object. Instead, it returns
an error stating that the Draft object cannot be serialized.
What operating system are you using? What browser?
Linux / Firefox
Please provide any additional information below.
This can be worked around by changing the line return JsonResponse(request,
result) to JsonResponse(request).