X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=www%2Fmaps%2Fmaps%2Flib%2Fbase.py;fp=www%2Fmaps%2Fmaps%2Flib%2Fbase.py;h=56a090bacd2d9bc33b7757b58af529dc1044a1bb;hb=5485afbd4da2182072ef9756c65137729bf1eee5;hp=0000000000000000000000000000000000000000;hpb=a5341c314815ed4df97e2b0f94d05322660052cf;p=dead%2Fcensus-tools.git diff --git a/www/maps/maps/lib/base.py b/www/maps/maps/lib/base.py new file mode 100644 index 0000000..56a090b --- /dev/null +++ b/www/maps/maps/lib/base.py @@ -0,0 +1,15 @@ +"""The base Controller API + +Provides the BaseController class for subclassing. +""" +from pylons.controllers import WSGIController +from pylons.templating import render_mako as render + +class BaseController(WSGIController): + + def __call__(self, environ, start_response): + """Invoke the Controller""" + # WSGIController.__call__ dispatches to the Controller method + # the request is routed to. This routing information is + # available in environ['pylons.routes_dict'] + return WSGIController.__call__(self, environ, start_response)