diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2011-01-02 23:50:39 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2011-01-02 23:50:39 -0700 |
| commit | c7af1563eaf89694233ddd1ebf2c48b163146d01 (patch) | |
| tree | 108e5b2a93e05222f046c22ecedb3d205dd92cc6 /docs | |
| parent | 8a1b50bc4027e25d5450cc6968f1f005af9d389f (diff) | |
| download | pyramid-c7af1563eaf89694233ddd1ebf2c48b163146d01.tar.gz pyramid-c7af1563eaf89694233ddd1ebf2c48b163146d01.tar.bz2 pyramid-c7af1563eaf89694233ddd1ebf2c48b163146d01.zip | |
remove unneeded liars remorse paragraph atop renderers
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/renderers.rst | 16 |
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: |
