From e96f1b11e105c64577062b585f6465d00acbabdc Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Sun, 8 Sep 2013 15:16:34 -0600 Subject: Deprecate custom_predicates for add_view/add_route --- pyramid/config/routes.py | 2 ++ pyramid/config/views.py | 2 ++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.3