Hi All,
I am trying to create a simple webapp that uses web.py. I have a python script in my directory that should serve htmls from a 'templates' folder in the same directory. I used the manual configuration while creating the webapp and have uncommented the code that gets the app from my directory. I keep getting the error that its not able to find the template. Here is the syntax I am using template = web.template.render('templates')
class Logon: def GET(self): return template.Logon()
And the html file is named Logon.html Pretty simple but it keeps failing. Tried it with Jinja2 and it gave me the same error that I decided to use the templator instead , but to no avail. Any suggestions ? Thanks, Vikram