debianmemberportfolio/ddportfolioservice/controllers/ddportfolio.py
Jan Dittberner 9c800c0ed8 setup Pylons infrastructure
paster create -t pylons ...
paster controller ddportfolio
add support for sphinx
2009-01-20 22:39:05 +01:00

13 lines
308 B
Python

import logging
from ddportfolioservice.lib.base import *
log = logging.getLogger(__name__)
class DdportfolioController(BaseController):
def index(self):
# Return a rendered template
# return render('/some/template.mako')
# or, Return a response
return 'Hello World'