diff options
Diffstat (limited to 'pyramid/interfaces.py')
| -rw-r--r-- | pyramid/interfaces.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py index 5b9edf31a..399b3efa3 100644 --- a/pyramid/interfaces.py +++ b/pyramid/interfaces.py @@ -1,3 +1,5 @@ +from zope.deprecation import deprecated + from zope.interface import ( Attribute, Interface, @@ -780,6 +782,15 @@ class IContextURL(IResourceURL): def __call__(): """ Return a URL that points to the context. """ +deprecated( + 'IContextURL', + 'As of Pyramid 1.3 the, "pyramid.interfaces.IContextURL" interface is ' + 'scheduled to be removed. Use the ' + '"pyramid.config.Configurator.add_resource_url_adapter" method to register' + 'a class that implements "pyramid.interfaces.IResourceURL" instead.' + 'See the "What\'s new In Pyramid 1.3" document for a further description.' + ) + class IPackageOverrides(Interface): """ Utility for pkg_resources overrides """ |
