The __ini__.py file made no sense so I removed it.
Back to Import Error: No module named templates
Now looking into the line 1028 of the templates.py file I notice.
The line ... in my file
render = web.template.render('templates/')
ends up with an error inside a class called GAE_Render
class GAE_Render(Render):
# Render gets over-written. make a copy here.
super = Render
def __init__(self, loc, *a, **kw):
GAE_Render.super.__init__(self, loc, *a, **kw)
import types
if isinstance(loc, types.ModuleType):
self.mod = loc
else:
name = loc.rstrip('/').replace('/', '.')
self.mod = __import__(name, None, None, ['x']) # line 1028
Why do you think creating an render object is ending up inside of a Google App Engine class.
I'm just running the simple example on the command line.
- Brad
On Monday, November 26, 2012 12:00:51 AM UTC-5, Brad Lucas wrote: