summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/narr/views.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index f88f50d92..75cd6cc92 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -395,7 +395,8 @@ The ``json`` renderer is a renderer which renders view callable
results to :term:`JSON`. If a view callable returns a non-Response
object it is called. It passes the return value through the
``json.dumps`` standard library function, and wraps the result in a
-response object.
+response object. It also sets the response content-type to
+``application/json``.
Here's an example of a view that returns a dictionary. If the
``json`` renderer is specified in the configuration for this view, the