From b3b7132a8c2964bf3638f0be23dcf87dca737877 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 4 Nov 2010 02:20:15 -0400 Subject: - The ZODB Wiki tutorial was updated to take into account changes to the ``pyramid_zodb`` paster template. --- docs/tutorials/wiki/definingviews.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/tutorials/wiki/definingviews.rst') 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 -- cgit v1.2.3