1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #29687 -- Allowed the test client to serialize list/tuple as JSON.

This commit is contained in:
Dan Palmer
2018-08-18 13:15:24 +01:00
committed by Tim Graham
parent 08f788b169
commit e181666973
6 changed files with 33 additions and 15 deletions

View File

@@ -224,6 +224,10 @@ Tests
URL, ignoring the ordering of the query string.
:meth:`~.SimpleTestCase.assertRedirects` uses the new assertion.
* The test :class:`~.django.test.Client` now supports automatic JSON
serialization of list and tuple ``data`` when
``content_type='application/json'``.
URLs
~~~~