diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-07 23:45:27 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-07 23:45:27 -0500 |
| commit | 6067de3ec37e647e1be12f91151faa23d76ab7d4 (patch) | |
| tree | 37c4bb190dc5b17b08b0779b0976e2a053ff8933 /docs/narr/router.rst | |
| parent | 0476846873e55a5d5f43a7d0ee0a83a260788264 (diff) | |
| download | pyramid-6067de3ec37e647e1be12f91151faa23d76ab7d4.tar.gz pyramid-6067de3ec37e647e1be12f91151faa23d76ab7d4.tar.bz2 pyramid-6067de3ec37e647e1be12f91151faa23d76ab7d4.zip | |
- All references to events by interface
(e.g. ``pyramid.interfaces.INewRequest``) have been changed to reference
their concrete classes (e.g. ``pyramid.events.NewRequest``) in
documentation about making subscriptions.
Diffstat (limited to 'docs/narr/router.rst')
| -rw-r--r-- | docs/narr/router.rst | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/narr/router.rst b/docs/narr/router.rst index 6bc17caf0..b585482ef 100644 --- a/docs/narr/router.rst +++ b/docs/narr/router.rst @@ -32,8 +32,8 @@ processing? :func:`pyramid.threadlocal.get_current_request` and :func:`pyramid.threadlocal.get_current_registry` to work. -#. A :class:`pyramid.interfaces.INewRequest` :term:`event` is sent - to any subscribers. +#. A :class:`pyramid.events.NewRequest` :term:`event` is sent to any + subscribers. #. If any :term:`route` has been defined within application configuration, the :mod:`pyramid` :term:`router` calls a @@ -74,7 +74,7 @@ processing? they can be accessed via e.g. ``request.context`` within :term:`view` code. -#. A :class:`pyramid.interfaces.IContextFound` :term:`event` is +#. A :class:`pyramid.events.ContextFound` :term:`event` is sent to any subscribers. #. :mod:`pyramid` looks up a :term:`view` callable using the @@ -114,14 +114,13 @@ processing? #. The following steps occur only when a :term:`response` could be successfully generated by a normal :term:`view callable` or an - :term:`exception view` callable. :mod:`pyramid` will attempt to - execute any :term:`response callback` functions attached via + :term:`exception view` callable. :mod:`pyramid` will attempt to execute + any :term:`response callback` functions attached via :meth:`pyramid.request.Request.add_response_callback`. A - :class:`pyramid.interfaces.INewResponse` :term:`event` is then - sent to any subscribers. The response object's ``app_iter``, - ``status``, and ``headerlist`` attributes are then used to generate - a WSGI response. The response is sent back to the upstream WSGI - server. + :class:`pyramid.events.NewResponse` :term:`event` is then sent to any + subscribers. The response object's ``app_iter``, ``status``, and + ``headerlist`` attributes are then used to generate a WSGI response. The + response is sent back to the upstream WSGI server. #. :mod:`pyramid` will attempt to execute any :term:`finished callback` functions attached via |
