I tried that but still same result. Here's what I've got now:
import web
urls = (
'/', 'hello',
'/bye/', 'bye')
render = web.template.render('templates/')
class hello:
def GET(self):
return render.hello("Templates demo", "Hello", "A long time ago...")
class bye:
def GET(self):
return render.bye("Templates demo", "Bye", "14", "8", "25", "42",
"19")
app = web.application(urls, globals())
application = app.wsgifunc()
if __name__ == "__main__":
app.run()
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/webpy/-/zjO3jBfcZewJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.