diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/urldispatch.rst | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index d43a344f2..f19faa031 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -122,10 +122,17 @@ filter A Python dotted-path name to a Routes `filter function <http://routes.groovie.org/manual.html#filter-functions>`_. -condition_method +request_type The name of the HTTP method used as the Routes `condition method - <http://routes.groovie.org/manual.html#conditions>`_. + <http://routes.groovie.org/manual.html#conditions>`_. A string, + e.g. ``GET`` or ``POST``. Note that :term:`interface` references + don't work here as they do in the ``view`` decorator or ``bfg_view`` + ZCML directive. Only strings representing an HTTP method will work. + +condition_method + + An alias for the ``request_type`` attribute. condition_subdomain |
