hello all,
i have put a copy of Django-1.2.1 in my appengine app [sys.path.insert(0, 'Django-1.2.1.zip')] and it works fine.
in a webapp Class I have:
name = 'dashboard'
template_values = {
'name': name
}
fp = open('templates/dashboard.html')
t = Template(fp.read())
fp.close()
self.response.out.write(t.render(template_values))
I tried get_template but got a {doesn't exist} error. Anyhow, dashboard.html {% extends "_base.html" %} which is in the same template folder but I get:
Template '[removed].../templates/dashboard/_base.html' cannot be extended, because it doesn't exist.
It does so whats my problem?
Thanks.