static_dir.
Here is app.yaml:
- url: /view
static_dir: static/view
Here is main.py:
template_values = {
'url': url,
'url_linktext': url_linktext,
}
path = os.path.join(os.path.dirname(__file__), 'index.html')
self.response.out.write(template.render(path,
template_values))
Here is the error:
raise TemplateSyntaxError, "Template %r cannot be extended, because it
doesn't exist" % parent
TemplateSyntaxError: Template 'view/base.html' cannot be extended,
because it doesn't exist
You can browse to the base.html, but class main() cannot see it.
Thanks for any assistance,
Harry
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment