diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-27 22:47:08 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-27 22:47:08 +0000 |
| commit | 8c56ae41b6f0221d72f1a255ce1a3ac467b98d79 (patch) | |
| tree | d310d7be53ae0f4760e09b437975dcebce52d02b /docs/narr/hooks.rst | |
| parent | d7b12a30237d51d761cab0b08c5da1163ea534ee (diff) | |
| download | pyramid-8c56ae41b6f0221d72f1a255ce1a3ac467b98d79.tar.gz pyramid-8c56ae41b6f0221d72f1a255ce1a3ac467b98d79.tar.bz2 pyramid-8c56ae41b6f0221d72f1a255ce1a3ac467b98d79.zip | |
- Added manual index entries to generated index.
Diffstat (limited to 'docs/narr/hooks.rst')
| -rw-r--r-- | docs/narr/hooks.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 6bfd99e52..990290744 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -6,6 +6,9 @@ Using Hooks "Hooks" can be used to influence the behavior of the :mod:`repoze.bfg` framework in various ways. +.. index:: + pair: not found view; changing + .. _changing_the_notfound_view: Changing the Not Found View @@ -70,6 +73,9 @@ Here's some sample code that implements a minimal NotFound view: ``debug_notfound`` environment setting is true than it is when it is false. +.. index:: + pair: forbidden view; changing + .. _changing_the_forbidden_view: Changing the Forbidden View @@ -148,6 +154,9 @@ Here's some sample code that implements a minimal forbidden view: an alternate forbidden view. For example, it would make sense to return a response with a ``403 Forbidden`` status code. +.. index:: + pair: traverser; changing + .. _changing_the_traverser: Changing the Traverser @@ -242,6 +251,9 @@ wild" within `repoze.bfg.traversalwrapper <http://pypi.python.org/pypi/repoze.bfg.traversalwrapper>`_ and `repoze.bfg.metatg <http://svn.repoze.org/repoze.bfg.metatg/trunk/>`_. +.. index:: + pair: url generator; changing + Changing How :mod:`repoze.bfg.url.model_url` Generates a URL ------------------------------------------------------------ |
