diff options
author | Alfredo Deza <alfredodeza@gmail.com> | 2011-06-26 13:02:37 -0400 |
---|---|---|
committer | Alfredo Deza <alfredodeza@gmail.com> | 2011-06-26 13:02:37 -0400 |
commit | 73c43fc30de06a29ae996fa00f93d7ca8748ef12 (patch) | |
tree | 646eae396a1ce40fd8cba7ac4a4e0f2d291d9b3c /pecan/hooks.py | |
parent | c979ac8e61876234fc76f432a9395629c65bc01f (diff) | |
download | pecan-73c43fc30de06a29ae996fa00f93d7ca8748ef12.tar.gz |
Add documentation for RequestViewerHook
Diffstat (limited to 'pecan/hooks.py')
-rw-r--r-- | pecan/hooks.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pecan/hooks.py b/pecan/hooks.py index 2918ea6..1fd3f64 100644 --- a/pecan/hooks.py +++ b/pecan/hooks.py @@ -182,10 +182,10 @@ class RequestViewerHook(PecanHook): Valid items are *any* item that the ``request`` object holds, by default it uses the following: - * url + * path + * status * method - * response - * context + * controller * params * hooks @@ -206,6 +206,7 @@ class RequestViewerHook(PecanHook): .. :note:: This key should always use a ``list`` of items to use. + For more detailed documentation about this hook, please see :ref:`requestviewerhook` ''' available = ['path', 'status', 'method', 'controller', 'params', 'hooks'] |