diff options
| author | Chris McDonough <chrism@plope.com> | 2012-09-09 14:32:00 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-09-09 14:32:00 -0400 |
| commit | ef2e51792e4f2b970d23186dd883ad4fbf7d0815 (patch) | |
| tree | cfeb5e23e56e42773f38016ea2c22483d4147b31 /docs/api/settings.rst | |
| parent | b274d051847299a7dc52781fbc3ce0f61070138d (diff) | |
| download | pyramid-ef2e51792e4f2b970d23186dd883ad4fbf7d0815.tar.gz pyramid-ef2e51792e4f2b970d23186dd883ad4fbf7d0815.tar.bz2 pyramid-ef2e51792e4f2b970d23186dd883ad4fbf7d0815.zip | |
- The ``pyramid.settings.get_settings()`` API was removed. It had been
printing a deprecation warning since Pyramid 1.0. If your code depended on
this API, use ``pyramid.threadlocal.get_current_registry().settings``
instead or use the ``settings`` attribute of the registry available from
the request (``request.registry.settings``).
Diffstat (limited to 'docs/api/settings.rst')
| -rw-r--r-- | docs/api/settings.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/api/settings.rst b/docs/api/settings.rst index 6b12c038c..cd802e138 100644 --- a/docs/api/settings.rst +++ b/docs/api/settings.rst @@ -5,8 +5,6 @@ .. automodule:: pyramid.settings - .. autofunction:: get_settings - .. autofunction:: asbool .. autofunction:: aslist |
