Fixed #24773 -- Added a json() method on test client responses.

This commit is contained in:
Andy McKay 2015-05-08 22:33:26 -07:00 committed by Tim Graham
parent 46ce72e8d2
commit 4525a0c466
6 changed files with 40 additions and 2 deletions

View file

@ -289,7 +289,8 @@ Requests and Responses
Tests
^^^^^
* ...
* Added the :meth:`json() <django.test.Response.json>` method to test client
responses to give access to the response body as JSON.
URLs
^^^^