diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/request-response.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 339789b2b0..2a43756889 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -900,7 +900,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) |
