diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-29 03:48:51 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-29 03:48:51 -0500 |
| commit | 581a401c26047a6cddb6521393de4030ce0a962a (patch) | |
| tree | c733747e636cfac7368069519c9d466704c3ce30 /docs | |
| parent | 0e525ce7315e9962372267966eda6bc76ff99f02 (diff) | |
| download | pyramid-581a401c26047a6cddb6521393de4030ce0a962a.tar.gz pyramid-581a401c26047a6cddb6521393de4030ce0a962a.tar.bz2 pyramid-581a401c26047a6cddb6521393de4030ce0a962a.zip | |
fix from mike
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/urldispatch.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 4c601340f..0d28a0e96 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -533,12 +533,12 @@ neither predicates nor view configuration information. callables. Use custom predicates when no set of predefined predicates does what you need. Custom predicates can be combined with predefined predicates as necessary. Each custom predicate callable should accept two - arguments: ``context`` and ``request`` and should return either ``True`` or + arguments: ``info`` and ``request`` and should return either ``True`` or ``False`` after doing arbitrary evaluation of the context resource and/or the request. If all callables return ``True``, the associated route will be considered viable for a given request. If any custom predicate returns - ``False``, route matching continues. Note that the value ``context`` will - always be ``None`` when passed to a custom route predicate. + ``False``, route matching continues. See :ref:`custom_route_predicates` + for more information. **View-Related Arguments** |
