summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/config/routes.py2
-rw-r--r--pyramid/config/views.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/pyramid/config/routes.py b/pyramid/config/routes.py
index c7659ce08..14dd87d0f 100644
--- a/pyramid/config/routes.py
+++ b/pyramid/config/routes.py
@@ -255,6 +255,8 @@ class RoutesConfiguratorMixin(object):
custom_predicates
+ .. deprecated:: 1.5
+
This value should be a sequence of references to custom
predicate callables. Use custom predicates when no set of
predefined predicates does what you need. Custom predicates
diff --git a/pyramid/config/views.py b/pyramid/config/views.py
index 209b9e4a2..243c017fa 100644
--- a/pyramid/config/views.py
+++ b/pyramid/config/views.py
@@ -1027,6 +1027,8 @@ class ViewsConfiguratorMixin(object):
custom_predicates
+ .. deprecated:: 1.5
+
This value should be a sequence of references to custom predicate
callables. Use custom predicates when no set of predefined
predicates do what you need. Custom predicates can be combined with