summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorPatrick Canfield <patrickcandoit@gmail.com>2013-03-18 17:24:51 -0700
committerPzatrick <patrickcandoit@gmail.com>2013-03-21 13:34:15 -0700
commitbb8e20e0d35dc806e19edc6d07c837ec272128ec (patch)
tree3a9b7679899c981ea9c3fb20b247710af5598831 /docs/tutorials
parente163c0931e17c3ad79dd0fa08cea924db1813558 (diff)
downloadpyramid-bb8e20e0d35dc806e19edc6d07c837ec272128ec.tar.gz
pyramid-bb8e20e0d35dc806e19edc6d07c837ec272128ec.tar.bz2
pyramid-bb8e20e0d35dc806e19edc6d07c837ec272128ec.zip
Update definingviews.rst to clarify that a template is a renderer
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/wiki2/definingviews.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst
index f733abe10..9894bcb08 100644
--- a/docs/tutorials/wiki2/definingviews.rst
+++ b/docs/tutorials/wiki2/definingviews.rst
@@ -149,10 +149,9 @@ We then generate an edit URL (because it's easier to do here than in the
template), and we return a dictionary with a number of arguments. The fact
that ``view_page()`` returns a dictionary (as opposed to a :term:`response`
object) is a cue to :app:`Pyramid` that it should try to use a :term:`renderer`
-associated with the view configuration to render a template. In our case,
-the template which will be rendered will be the ``templates/view.pt``
-template, as indicated in the ``@view_config`` decorator that is applied to
-``view_page()``.
+associated with the view configuration to render a response. In our case,
+the renderer used will be the ``templates/view.pt`` template, as indicated in
+the ``@view_config`` decorator that is applied to ``view_page()``.
The ``add_page`` view function
------------------------------