From ad65078469770bc698b7b4a0a5634b3895aab971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Sat, 11 Jan 2020 18:21:56 -0500 Subject: replace "third-party" with "custom" --- docs/narr/hooks.rst | 2 +- docs/narr/viewconfig.rst | 2 +- docs/quick_tour.rst | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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 diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst index fdd135331..511868ade 100644 --- a/docs/quick_tour.rst +++ b/docs/quick_tour.rst @@ -482,8 +482,8 @@ more to offer: .. seealso:: See also: :ref:`Quick Tutorial View Classes `, :ref:`Quick - Tutorial More View Classes `, and - :ref:`class_as_view`. + Tutorial More View Classes `, :ref:`class_as_view`, + :ref:`view_and_route_predicates`. Quick project startup with cookiecutters -- cgit v1.2.3