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
settingsargument to thepyramid.config.Configuratorconstructor or thepyramid.router.make_app()API.Warning
This method is deprecated as of Pyramid 1.0. Use
pyramid.threadlocal.get_current_registry().settingsinstead or use thesettingsattribute of the registry available from the request (request.registry.settings).