diff options
| author | Hunter Senft-Grupp <huntcsg@gmail.com> | 2018-05-15 23:29:26 -0400 |
|---|---|---|
| committer | Hunter Senft-Grupp <huntcsg@gmail.com> | 2018-05-15 23:29:26 -0400 |
| commit | f6aee3428aa70bc8d09ccee46076d0f415c3965d (patch) | |
| tree | f9181bc6979166825671a22fe7f94f16ad0004df | |
| parent | 4c2d428ca352f531ba697f913a28aa8c451359bc (diff) | |
| download | pyramid-f6aee3428aa70bc8d09ccee46076d0f415c3965d.tar.gz pyramid-f6aee3428aa70bc8d09ccee46076d0f415c3965d.tar.bz2 pyramid-f6aee3428aa70bc8d09ccee46076d0f415c3965d.zip | |
Updated CHANGES.rst and fixed versionadded to be correct
| -rw-r--r-- | CHANGES.rst | 5 | ||||
| -rw-r--r-- | pyramid/config/routes.py | 2 |
2 files changed, 6 insertions, 1 deletions
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 |
