Commit b51c1ff0 by Tom Christie

Django 1.9's test case HttpResponse.json() is not cachable.

parent 7560e838
......@@ -98,7 +98,7 @@ class Response(SimpleTemplateResponse):
state = super(Response, self).__getstate__()
for key in (
'accepted_renderer', 'renderer_context', 'resolver_match',
'client', 'request', 'wsgi_request'
'client', 'request', 'json', 'wsgi_request'
):
if key in state:
del state[key]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment