From ef2e51792e4f2b970d23186dd883ad4fbf7d0815 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 9 Sep 2012 14:32:00 -0400 Subject: - 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``). --- CHANGES.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 7e0bf73cf..cffccca06 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -192,6 +192,12 @@ Backwards Incompatibilities depended on this, adjust your code to import ``pyramid.scaffolds.PyramidTemplate`` instead. +- 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``). + Dependencies ------------ -- cgit v1.2.3