]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/wradmin/lib/base.py
Created a Pylons 0.9.7 application to further administrate the Winterrodeln MediaWiki...
[philipp/winterrodeln/wradmin.git] / wradmin / wradmin / lib / base.py
1 """The base Controller API
2
3 Provides the BaseController class for subclassing.
4 """
5 from pylons.controllers import WSGIController
6 from pylons.templating import render_genshi as render
7
8 class BaseController(WSGIController):
9
10     def __call__(self, environ, start_response):
11         """Invoke the Controller"""
12         # WSGIController.__call__ dispatches to the Controller method
13         # the request is routed to. This routing information is
14         # available in environ['pylons.routes_dict']
15         return WSGIController.__call__(self, environ, start_response)