diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-07-05 22:39:34 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-07-05 22:39:34 +0000 |
| commit | b43e5f12490de4eb021971bcca67c7edf3a2dbce (patch) | |
| tree | 37d1ca0d03db5ddfad52e5b73bd89a85206e5481 /docs/tutorials/bfgwiki2/definingviews.rst | |
| parent | 9299422a9e04ecd07f81bea4fdf6975fb7d68b84 (diff) | |
| download | pyramid-b43e5f12490de4eb021971bcca67c7edf3a2dbce.tar.gz pyramid-b43e5f12490de4eb021971bcca67c7edf3a2dbce.tar.bz2 pyramid-b43e5f12490de4eb021971bcca67c7edf3a2dbce.zip | |
Spelling
Diffstat (limited to 'docs/tutorials/bfgwiki2/definingviews.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki2/definingviews.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/bfgwiki2/definingviews.rst b/docs/tutorials/bfgwiki2/definingviews.rst index 8a739ff58..a75f4b74b 100644 --- a/docs/tutorials/bfgwiki2/definingviews.rst +++ b/docs/tutorials/bfgwiki2/definingviews.rst @@ -97,7 +97,7 @@ already contains a page with the matched WikiWord name, the ``check`` function generates a view link to be used as the substitution value and returns it. If the wiki does not already contain a page with with the matched WikiWord name, the function generates an "add" link as the -subsitution value and returns it. +substitution value and returns it. As a result, the ``content`` variable is now a fully formed bit of HTML containing various view and add links for WikiWords based on the @@ -306,7 +306,7 @@ Adding an Element to the Pipeline Let's add a piece of middleware to the WSGI pipeline. We'll add ``egg:Paste#evalerror`` middleware which displays debuggable errors in -the browser while you're developing (this is *not* recommeded for +the browser while you're developing (this is *not* recommended for deployment as it is a security risk). Let's insert evalerror into the pipeline right above "egg:repoze.tm2#tm", making our resulting ``tutorial.ini`` file look like so: |
