diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/views.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index eba9e60da..637058a05 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -376,7 +376,7 @@ representation of the dictionary: The body of the response returned by such a view will be a string representing the ``str()`` serialization of the return value: -.. code-block: python +.. code-block:: python :linenos: {'content': 'Hello!'} @@ -414,7 +414,7 @@ view will render the returned dictionary to a JSON serialization: The body of the response returned by such a view will be a string representing the JSON serialization of the return value: -.. code-block: python +.. code-block:: python :linenos: '{"content": "Hello!"}' |
