[1.7.x] Fixed typo in docs/ref/request-response.txt
Backport of adf8fb34ce
from master
This commit is contained in:
parent
7750fc8fa8
commit
69b5428c12
|
@ -882,7 +882,7 @@ Without passing ``safe=False``, a :exc:`TypeError` will be raised.
|
|||
Changing the default JSON encoder
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If you need to use a differ JSON encoder class you can pass the ``encoder``
|
||||
If you need to use a different JSON encoder class you can pass the ``encoder``
|
||||
parameter to the constructor method::
|
||||
|
||||
>>> response = JsonResponse(data, encoder=MyJSONEncoder)
|
||||
|
|
Loading…
Reference in New Issue