diff options
| author | Tres Seaver <tseaver@palladion.com> | 2013-04-22 14:09:55 -0700 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2013-04-22 14:09:55 -0700 |
| commit | 2326f5c3d88514131ed573afed4dd9c5aafad2b6 (patch) | |
| tree | 1aa658c15716479b7d2f30f4dddfc8323f784952 /docs | |
| parent | fa141fd18127ecd7565ccb4614f4a1f4d2e801eb (diff) | |
| parent | 6ce39f11b76dc599dfc897eab43bcf236b26c5d5 (diff) | |
| download | pyramid-2326f5c3d88514131ed573afed4dd9c5aafad2b6.tar.gz pyramid-2326f5c3d88514131ed573afed4dd9c5aafad2b6.tar.bz2 pyramid-2326f5c3d88514131ed573afed4dd9c5aafad2b6.zip | |
Merge pull request #994 from tshepang/patch-1
remove redundant text
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/renderers.rst | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/narr/renderers.rst b/docs/narr/renderers.rst index 76c44902b..3fe1c86f3 100644 --- a/docs/narr/renderers.rst +++ b/docs/narr/renderers.rst @@ -77,12 +77,10 @@ response attributes (such as headers and the HTTP status code) by attaching a property to the ``request.response`` attribute. See :ref:`request_response_attr`. -If the :term:`view callable` associated with a :term:`view configuration` -returns a Response object directly, any renderer associated with the view -configuration is ignored, and the response is passed back to :app:`Pyramid` -unchanged. For example, if your view callable returns an instance of the -:class:`pyramid.response.Response` class as a response, no renderer -will be employed. +As already mentioned, if the :term:`view callable` associated with a +:term:`view configuration` returns a Response object (or its instance), +any renderer associated with the view configuration is ignored, +and the response is passed back to :app:`Pyramid` unchanged. For example: .. code-block:: python :linenos: |
