diff options
| author | Éric Araujo <earaujo@caravan.coop> | 2020-01-11 18:21:56 -0500 |
|---|---|---|
| committer | Éric Araujo <earaujo@caravan.coop> | 2020-01-11 18:21:56 -0500 |
| commit | ad65078469770bc698b7b4a0a5634b3895aab971 (patch) | |
| tree | 1ee53a011e03c7e84edef0d52209d2c35a2f384f /docs/narr | |
| parent | d480c0fe653da0eb265c9ad7edfafc817848caa2 (diff) | |
| download | pyramid-ad65078469770bc698b7b4a0a5634b3895aab971.tar.gz pyramid-ad65078469770bc698b7b4a0a5634b3895aab971.tar.bz2 pyramid-ad65078469770bc698b7b4a0a5634b3895aab971.zip | |
replace "third-party" with "custom"
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/hooks.rst | 2 | ||||
| -rw-r--r-- | docs/narr/viewconfig.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index b6b103eb3..4632c2c0a 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -1446,7 +1446,7 @@ Likewise, a similar predicate can be used as a *route* predicate: config.add_route('name', '/foo', request_method='POST') Many other built-in predicates exists (``request_param``, and others). You can -add third-party predicates to the list of available predicates by using one of +add custom predicates to the list of available predicates by using one of :meth:`pyramid.config.Configurator.add_view_predicate` or :meth:`pyramid.config.Configurator.add_route_predicate`. The former adds a view predicate, the latter a route predicate. diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index 3e596b030..5ba965def 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -524,7 +524,7 @@ configured view. in your app or by third-party packages extending Pyramid and registered via :meth:`pyramid.config.Configurator.add_view_predicate`. Use custom predicates when no set of predefined predicates do what you need. See - :ref:`view_and_route_predicates` for more information about third-party + :ref:`view_and_route_predicates` for more information about custom predicates. .. versionadded:: 1.4a1 |
