Package turbogears :: Module controllers :: Class Controller

Class Controller

source code

object --+
         |
        Controller
Known Subclasses:

Base class for a web application's controller.

It is important that your controllers inherit from this class, otherwise ``identity.SecureResource`` and ``identity.SecureObject`` will not work correctly.

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  msglog = logging.getLogger('cherrypy.msg')
  msglogfunc = {0: <bound method Logger.info of <logging.Logger ...
  accesslog = logging.getLogger('turbogears.access')
Properties

Inherited from object: __class__

Class Variable Details

msglogfunc

Value:
{0: <bound method Logger.info of <logging.Logger instance at 0x1c30878\
>>,
 1: <bound method Logger.warning of <logging.Logger instance at 0x1c30\
878>>,
 2: <bound method Logger.error of <logging.Logger instance at 0x1c3087\
8>>}