Latest Version: 0.9.6.2

Warning

This documentation does not refer to the most recent version of Pylons. Current Documentation

wsgiapp

WSGI App Creator

This module is responsible for creating the basic Pylons WSGI application. It's generally assumed that it will be called by Paste, though any WSGI application server could create and call the WSGI app as well.


Attributes

Functions

f make_app(config) ...

Legacy WSGI app creator

Classes

C PylonsBaseWSGIApp(...) ...

Basic Pylons WSGI Application

This basic WSGI app is provided should a web developer want to get access to the most basic Pylons web application environment available. By itself, this Pylons web application does little more than dispatch to a controller and setup the context object, the request object, and the globals object.

Additional functionality like sessions, and caching can be setup by altering the environ['pylons.environ_config'] setting to indicate what key the session and cache functionality should come from.

Resolving the URL and dispatching can be customized by sub-classing or "monkey-patching" this class. Subclassing is the preferred approach.

This class contains 7 members.

C PylonsApp(...) ...

Setup the Pylons default environment

Pylons App sets up the basic Pylons app, and initializes the global object, sessions and caching. Sessions and caching can be overridden in the config object by supplying other keys to look for in the environ where objects for the session/cache will be. If they're set to none, then no session/cache objects will be available.

This class contains 2 members.

C LegacyApp(...) ...

This class contains 2 members.

See the source for more information.

Top