summaryrefslogtreecommitdiff
path: root/docs/narr/renderers.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-08 00:17:15 -0500
committerChris McDonough <chrism@plope.com>2011-01-08 00:17:15 -0500
commitf7f0dd818138f3a4284fe1614a66dc121c9da86c (patch)
treeb606219aeb0ae605e3768852827269bf81bda51e /docs/narr/renderers.rst
parent14f863d9b5c323303155c79901f22c5d0e1dbe69 (diff)
parent3fe316cb75b4311fbc4c7610f140e423b30d9ff6 (diff)
downloadpyramid-f7f0dd818138f3a4284fe1614a66dc121c9da86c.tar.gz
pyramid-f7f0dd818138f3a4284fe1614a66dc121c9da86c.tar.bz2
pyramid-f7f0dd818138f3a4284fe1614a66dc121c9da86c.zip
fix renderings
Diffstat (limited to 'docs/narr/renderers.rst')
-rw-r--r--docs/narr/renderers.rst16
1 files changed, 4 insertions, 12 deletions
diff --git a/docs/narr/renderers.rst b/docs/narr/renderers.rst
index 76e9562fa..d888e3376 100644
--- a/docs/narr/renderers.rst
+++ b/docs/narr/renderers.rst
@@ -3,18 +3,10 @@
Renderers
=========
-In the :ref:`views_chapter` chapter, we said that a view callable must
-return a :term:`Response` object. We lied. A :term:`renderer` is a service
-that attempts to convert a non-Response return value of a function, class, or
-instance that acts as a :term:`view callable` to a :term:`Response` object.
-
-Overview
---------
-
-A view needn't *always* return a Response object. If a view happens to
-return something which does not implement the Pyramid Response interface,
-:app:`Pyramid` will attempt to use a :term:`renderer` to construct a
-response. For example:
+A view needn't *always* return a :term:`Response` object. If a view
+happens to return something which does not implement the Pyramid
+Response interface, :app:`Pyramid` will attempt to use a
+:term:`renderer` to construct a response. For example:
.. code-block:: python
:linenos: