summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-02-16 22:14:11 -0500
committerChris McDonough <chrism@plope.com>2011-02-16 22:14:11 -0500
commit228b54cd3623c542104fbd9af7b8fe4b6d836cf1 (patch)
tree3116d17a23787c1e91d2af139d84753090d67dd4 /docs
parenta185ea9b101c9681f85097ad5460e355e9bf9eb7 (diff)
downloadpyramid-228b54cd3623c542104fbd9af7b8fe4b6d836cf1.tar.gz
pyramid-228b54cd3623c542104fbd9af7b8fe4b6d836cf1.tar.bz2
pyramid-228b54cd3623c542104fbd9af7b8fe4b6d836cf1.zip
fix tutorial wording
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorials/wiki2/definingviews.rst11
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst
index bd9c37f9a..73f728132 100644
--- a/docs/tutorials/wiki2/definingviews.rst
+++ b/docs/tutorials/wiki2/definingviews.rst
@@ -174,12 +174,11 @@ view simply renders the edit form, passing the request, the page
object, and a save_url which will be used as the action of the
generated form.
-If the view execution *is* a result of a form submission (if the
-expression ``'form.submitted' in request.params`` is ``True``), the
-view grabs the ``body`` element of the request parameter and sets it
-as the ``data`` key in the matchdict. It then redirects to the
-default view of the wiki page, which will always be the ``view_page``
-view.
+If the view execution *is* a result of a form submission (if the expression
+``'form.submitted' in request.params`` is ``True``), the view grabs the
+``body`` element of the request parameter and sets it as the ``data``
+attribute of the page object. It then redirects to the default view of the
+wiki page, which will always be the ``view_page`` view.
Viewing the Result of Our Edits to ``views.py``
===============================================