I have the web folder in my directory that is serving my appengine
app, but when I try to do render = web.template.render('templates/')
I get an error that the templates module is not found. Here is my
complete code:
import web
urls = (
'/', 'index',
)
render = web.template.render('templates/')
class index:
def GET(self):
return render.index()
app = web.application(urls, globals())
main = app.cgirun()
if __name__=="__main__":
main()
Pretty straight forward, just can't get templates working! Any
suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
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
-~----------~----~----~----~------~----~------~--~---