summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2017-05-01 21:49:28 -0500
committerMichael Merickel <michael@merickel.org>2017-05-01 21:49:28 -0500
commit8f3c93cbaf0c1ee9aa6810d9229a0290ea63e41e (patch)
treea3f4f3286c15034b21f49b6879f16ea8065ab369 /docs
parentfdd77da6231fa9286c3f6fa494ae0731570e0134 (diff)
downloadpyramid-8f3c93cbaf0c1ee9aa6810d9229a0290ea63e41e.tar.gz
pyramid-8f3c93cbaf0c1ee9aa6810d9229a0290ea63e41e.tar.bz2
pyramid-8f3c93cbaf0c1ee9aa6810d9229a0290ea63e41e.zip
fix rst syntax
Diffstat (limited to 'docs')
-rw-r--r--docs/whatsnew-1.9.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/whatsnew-1.9.rst b/docs/whatsnew-1.9.rst
index 291f731ed..dd5ab894d 100644
--- a/docs/whatsnew-1.9.rst
+++ b/docs/whatsnew-1.9.rst
@@ -31,7 +31,7 @@ Minor Feature Additions
- Support an ``open_url`` config setting in the ``pserve`` section of the config file. This url is used to open a web browser when ``pserve --browser`` is invoked. When this setting is unavailable the ``pserve`` script will attempt to guess the port the server is using from the ``server:<server_name>`` section of the config file but there is no requirement that the server is being run in this format so it may fail. See https://github.com/Pylons/pyramid/pull/2984
-- The :class:`pyramid.config.Configurator` can now be used as a context manager which will automatically push/pop threadlocals (similar to :meth:`pyramid.config.Configurator.begin` and `pyramid.config.Configurator.end`). It will also automatically perform a :meth:`pyramid.config.Configurator.commit` at the end and thus it is only recommended to be used at the top-level of your app. See https://github.com/Pylons/pyramid/pull/2874
+- The :class:`pyramid.config.Configurator` can now be used as a context manager which will automatically push/pop threadlocals (similar to :meth:`pyramid.config.Configurator.begin` and :meth:`pyramid.config.Configurator.end`). It will also automatically perform a :meth:`pyramid.config.Configurator.commit` at the end and thus it is only recommended to be used at the top-level of your app. See https://github.com/Pylons/pyramid/pull/2874
- The threadlocals are now available inside any function invoked via :meth:`pyramid.config.Configurator.include`. This means the only config-time code that cannot rely on threadlocals is code executed from non-actions inside the main. This can be alleviated by invoking :meth:`pyramid.config.Configurator.begin` and :meth:`pyramid.config.Configurator.end` appropriately or using the new context manager feature of the configurator. See https://github.com/Pylons/pyramid/pull/2989