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:
@@ -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
|
||||
~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user