app.base

Module Contents

Classes

BaseApplication(self,usage=None,prog=None) An application interface for configuring and loading
Application()
class BaseApplication(usage=None, prog=None)

An application interface for configuring and loading the various necessities for any given web framework.

__init__(usage=None, prog=None)
do_load_config()

Loads the configuration

load_default_config()
init(parser, opts, args)
load()
load_config()

This method is used to load the configuration from one or several input(s). Custom Command line, configuration file. You have to override this method in your class.

reload()
wsgi()
run()
class Application
chdir()
get_config_from_filename(filename)
get_config_from_module_name(module_name)
load_config_from_module_name_or_filename(location)

Loads the configuration file: the file is a python file, otherwise raise an RuntimeError Exception or stop the process if the configuration file contains a syntax error.

load_config_from_file(filename)
load_config()
run()