Mercurial > kallithea
view pylons_app/controllers/file.py @ 172:83c7ee1b5f5c
improved timerproxy with sqllogging, and new way of sqlformat queries
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 21 May 2010 03:01:31 +0200 |
parents | aec4c0071cb3 |
children |
line wrap: on
line source
import logging from pylons import request, response, session, tmpl_context as c, url from pylons.controllers.util import abort, redirect from pylons_app.lib.base import BaseController, render log = logging.getLogger(__name__) class FileController(BaseController): def index(self): # Return a rendered template #return render('/file.mako') # or, return a string return 'Hello World'