From 228b54cd3623c542104fbd9af7b8fe4b6d836cf1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 16 Feb 2011 22:14:11 -0500 Subject: fix tutorial wording --- docs/tutorials/wiki2/definingviews.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'docs') 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`` =============================================== -- cgit v1.2.3