Commit 69b5428c authored by James Doherty's avatar James Doherty Committed by Tim Graham
Browse files

[1.7.x] Fixed typo in docs/ref/request-response.txt

Backport of adf8fb34 from master
parent 7750fc8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)