The steward.config Module
We are modules that configure certain aspects of Steward, mostly related to environmental and integration configrations.
The:Steward.config.environment Module
Pylons environment configuration
-
steward.config.environment.load_environment(global_conf, app_conf)
- Configure the Pylons environment via the pylons.config
object
The:Steward.config.middleware Module
Pylons middleware initialization
-
steward.config.middleware.make_app(global_conf, full_stack=True, **app_conf)
Create a Pylons WSGI application and return it
- global_conf
- The inherited configuration for this application. Normally from
the [DEFAULT] section of the Paste ini file.
- full_stack
- Whether or not this application provides a full WSGI stack (by
default, meaning it handles its own exceptions and errors).
Disable full_stack when this application is “managed” by
another WSGI middleware.
- app_conf
- The application’s local configuration. Normally specified in the
[app:<name>] section of the Paste ini file (where <name>
defaults to main).
The:Steward.config.routing Module
Routes configuration
The more specific and detailed routes should be defined first so they
may take precedent over the more generic routes. For more information
refer to the routes manual at http://routes.groovie.org/docs/
-
steward.config.routing.make_map()
- Create, configure and return the routes Mapper