summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/definingviews.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-04 02:20:15 -0400
committerChris McDonough <chrism@plope.com>2010-11-04 02:20:15 -0400
commitb3b7132a8c2964bf3638f0be23dcf87dca737877 (patch)
tree740ed6b6a8c791e800c51084b1efcf809b7ef71a /docs/tutorials/wiki/definingviews.rst
parent3940b26876f0979c31fcf89f13673757d869491f (diff)
downloadpyramid-b3b7132a8c2964bf3638f0be23dcf87dca737877.tar.gz
pyramid-b3b7132a8c2964bf3638f0be23dcf87dca737877.tar.bz2
pyramid-b3b7132a8c2964bf3638f0be23dcf87dca737877.zip
- The ZODB Wiki tutorial was updated to take into account changes to the
``pyramid_zodb`` paster template.
Diffstat (limited to 'docs/tutorials/wiki/definingviews.rst')
-rw-r--r--docs/tutorials/wiki/definingviews.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/tutorials/wiki/definingviews.rst b/docs/tutorials/wiki/definingviews.rst
index 41a9ad373..05ce2fbcd 100644
--- a/docs/tutorials/wiki/definingviews.rst
+++ b/docs/tutorials/wiki/definingviews.rst
@@ -342,20 +342,20 @@ something like so:
:linenos:
:language: xml
-Examining ``tutorial.ini``
-==========================
+Examining ``development.ini``
+=============================
-Let's take a look at our ``tutorial.ini`` file. The contents of the
+Let's take a look at our ``development.ini`` file. The contents of the
file are as follows:
-.. literalinclude:: src/models/tutorial.ini
+.. literalinclude:: src/models/development.ini
:linenos:
:language: ini
The WSGI Pipeline
-----------------
-Within ``tutorial.ini``, note the existence of a ``[pipeline:main]``
+Within ``development.ini``, note the existence of a ``[pipeline:main]``
section which specifies our WSGI pipeline. This "pipeline" will be
served up as our WSGI application. As far as the WSGI server is
concerned the pipeline *is* our application. Simpler configurations
@@ -377,10 +377,10 @@ Let's add a piece of middleware to the WSGI pipeline:
``egg:Paste#evalerror`` middleware which displays debuggable errors in
the browser while you're developing (not recommended for deployment).
Let's insert evalerror into the pipeline right below
-"egg:repoze.zodbconn#closer", making our resulting ``tutorial.ini``
+"egg:repoze.zodbconn#closer", making our resulting ``development.ini``
file look like so:
-.. literalinclude:: src/views/tutorial.ini
+.. literalinclude:: src/views/development.ini
:linenos:
:language: ini