turbogears :: controllers :: Controller :: Class Controller

Class Controller

source code

object --+
         |
        Controller

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: msglog.info, 1: msglog.warning, 2: msglog.error}
  accesslog = logging.getLogger('turbogears.access')
Properties

Inherited from object: __class__