diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2013-09-08 15:16:34 -0600 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2013-09-08 15:16:34 -0600 |
| commit | e96f1b11e105c64577062b585f6465d00acbabdc (patch) | |
| tree | 2d849f227fead933076efa9c59d92fbfbeed813a | |
| parent | d71acabebb804ebbd37703e78ac9886fcdded827 (diff) | |
| download | pyramid-e96f1b11e105c64577062b585f6465d00acbabdc.tar.gz pyramid-e96f1b11e105c64577062b585f6465d00acbabdc.tar.bz2 pyramid-e96f1b11e105c64577062b585f6465d00acbabdc.zip | |
Deprecate custom_predicates for add_view/add_route
| -rw-r--r-- | pyramid/config/routes.py | 2 | ||||
| -rw-r--r-- | pyramid/config/views.py | 2 |
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 |
