Warning
This documentation does not refer to the most recent version of Pylons. Current Documentation
The config module is accessible via the pylons module.
This module supplies pylons_config which handles setting up defaults for Myghty, Paste errorware, and prefixing Routes if necessary.
Pylons configuration object
The Pylons configuration object is a per-application instance object that retains the information regarding the global and app conf's as well as per-application instance specific data such as the mapper, the paths for this instance, and the myghty configuration.
The Config object is available in your application as a Pylons global pylons_config under the g object. There's several useful attributes of the config object most people will be interested in:
This class contains 2 members.
See the source for more information.