Mercurial > kallithea
view pylons_app/controllers/file.py @ 133:919b5bcd8630
Changed creation of repository to vcs implementation,
added cache invalidate just after repo creation for repo switch list
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 09 May 2010 13:08:16 +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'