From f6aee3428aa70bc8d09ccee46076d0f415c3965d Mon Sep 17 00:00:00 2001 From: Hunter Senft-Grupp Date: Tue, 15 May 2018 23:29:26 -0400 Subject: Updated CHANGES.rst and fixed versionadded to be correct --- CHANGES.rst | 5 +++++ pyramid/config/routes.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 4cb8ba44b..24122eb72 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -25,6 +25,11 @@ Features imports from `cherrypy.wsgiserver`. See https://github.com/Pylons/pyramid/pull/3235 +- Add a context manager ``route_prefix_context`` to the + ``pyramid.config.Configurator`` to allow for convenient setting of the + route_prefix for ``include`` and ``add_route`` calls inside the context. + See https://github.com/Pylons/pyramid/pull/3279 + Bug Fixes --------- diff --git a/pyramid/config/routes.py b/pyramid/config/routes.py index a83b424b6..598af300f 100644 --- a/pyramid/config/routes.py +++ b/pyramid/config/routes.py @@ -488,7 +488,7 @@ class RoutesConfiguratorMixin(object): A string suitable to be used as a route prefix, or ``None``. - .. versionadded:: 1.9.10 + .. versionadded:: 1.10 """ original_route_prefix = self.route_prefix -- cgit v1.2.3