pyramid.settings
¶
-
get_settings
()[source]¶ Return a deployment settings object for the current application. The object is a dictionary-like object that contains key/value pairs based on the dictionary passed as the
settings
argument to thepyramid.config.Configurator
constructor or thepyramid.router.make_app()
API.Warning
This method is deprecated as of Pyramid 1.0. Use
pyramid.threadlocal.get_current_registry().settings
instead or use thesettings
attribute of the registry available from the request (request.registry.settings
).