debianmemberportfolio/ddportfolioservice/controllers/ddportfolio.py
Jan Dittberner 12dc602c0b add form template
use render in ddportfolio controller
add webhelpers.rails to helpers.py
create showform.mako resembling the output of the old ddportfolio.py
2009-01-20 23:15:18 +01:00

13 lines
319 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 render('/showform.mako')