diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-13 01:00:39 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-13 01:00:39 -0400 |
| commit | 391402e63c1257ede0069f220ed5a1cca1b94a9b (patch) | |
| tree | 014d867eff43e5f18b1723ce7d846c87c1c2e202 /docs/tutorials/wiki/basiclayout.rst | |
| parent | dd25a5afd44d3fdc89782d232dfe818245e496cd (diff) | |
| download | pyramid-391402e63c1257ede0069f220ed5a1cca1b94a9b.tar.gz pyramid-391402e63c1257ede0069f220ed5a1cca1b94a9b.tar.bz2 pyramid-391402e63c1257ede0069f220ed5a1cca1b94a9b.zip | |
- Projects created via a scaffold no longer depend on the ``WebError``
package at all; configuration in the ``production.ini`` file which used to
require its ``error_catcher`` middleware has been removed. Configuring
error catching / email sending is now the domain of the ``pyramid_exclog``
package (see https://docs.pylonsproject.org/projects/pyramid_exclog/dev/).
Diffstat (limited to 'docs/tutorials/wiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki/basiclayout.rst | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/docs/tutorials/wiki/basiclayout.rst b/docs/tutorials/wiki/basiclayout.rst index 66cf37e4e..1aebaffd7 100644 --- a/docs/tutorials/wiki/basiclayout.rst +++ b/docs/tutorials/wiki/basiclayout.rst @@ -179,24 +179,9 @@ configurations don't use a pipeline: instead they expose a single WSGI application as "main". Our setup is more complicated, so we use a pipeline composed of :term:`middleware`. -The ``egg:WebError#evalerror`` middleware is at the "top" of the pipeline. -This is middleware which displays debuggable errors in the browser while -you're developing (not recommended for a production system). - -The ``egg:repoze.zodbconn#closer`` middleware is in the middle of the -pipeline. This is a piece of middleware which closes the ZODB connection -opened by the ``PersistentApplicationFinder`` at the end of the request. - -The ``egg:repoze.retry#retry`` middleware catches ``ConflictError`` -exceptions from ZODB and retries the request up to three times (ZODB is an -optimistic concurrency database that relies on application-level transaction -retries when a conflict occurs). - -The ``tm`` middleware is the last piece of middleware in the pipeline. This -commits a transaction near the end of the request unless there's an exception -raised or the HTTP response code is an error code. The ``tm`` refers to the -``[filter:tm]`` section beneath the pipeline declaration, which configures -the transaction manager. +The ``egg:repoze.zodbconn#closer`` middleware is at the top of the pipeline. +This is a piece of middleware which closes the ZODB connection opened by the +``PersistentApplicationFinder`` at the end of the request. The final line in the ``[pipeline:main]`` section is ``tutorial``, which refers to the ``[app:tutorial]`` section above it. The ``[app:tutorial]`` |
