예제 #1
0
 def index(req):
     tpl = Template()
     tpl.title = 'This is a page index!'
     tpl.render('app/templates/index.tpl')
예제 #2
0
 def index(req):
     tpl = Template()
     tpl.title = 'This is a page index!'
     tpl.render('app/templates/index.tpl')
예제 #3
0
 def view(req):
     tpl = Template()
     tpl.title = 'My page!'
     tpl.render('app/templates/view.tpl')
예제 #4
0
 def view(req):
     tpl = Template()
     tpl.title = 'My page!'
     tpl.render('app/templates/view.tpl')