Latest Version: 0.9.6.2

Warning

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

RoutesComponent

Makes the Controller act like a ModuleComponent

The RoutesComponent holds a reference to the Controller object, and instantiates/calls it during the request cycle. The environ dict is also setup here.


Attributes

a file

the actual filename of the component, if one exists

a path

relative full path of the component

a owner

<property object at 0x1739eb8>

a id

unique identifier for this component

a dir_name

relative directory name of the component

a name

<property object at 0x1739d50>

a source_id

unique identifier for the ComponentSource of this component

a attributes

<property object at 0x17399e0>

Methods

f do_run_component(self, m, r) ...

f run_wsgi_app(self, controller) ...

f __init__(self, interp, component_source, owner=None, do_init=True) ...

See the source for more information.

Top