The templates MUST NOT be put in a static dir.
Static files are not accessible to the python code to read.

2009/4/23 Jeremy <[email protected]>:
>
> The template directory should also contain the name of the html file.
> If the static dir is 'templates' and the html file is
> 'test_template.html', then it'd look like this:
>
>     os.path.join(os.path.dirname(__file__), 'templates/
> test_template.html')

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to