SettingsManager class in the
Cheetah.SettingsManager module is
a baseclass that provides facilities for managing application settings. It
facilitates the use of user-supplied configuration files to fine tune an
application. A setting is a key/value pair that an application or component
(e.g., a filter, or your own servlets) looks up and treats as a configuration
value to modify its (the component's) behaviour.
SettingsManager is designed to:
.ini style config files(or strings)
.ini config filesto be extended by settings in Python src files. If a section contains a setting like ``
SettingsManagerwill merge all the settings defined in ``
mySettings.py'' with the settings for that section that are defined in the
.ini config file.
SettingsManager to manage its configuration settings.
SettingsManager might also be useful in your own applications. See the
source code and docstrings in the file
src/SettingsManager.py for more