If you use a file in your application code it CAN NOT be put in a static folder.
You have to make a separate folder for the templates and not set it to static.
Static files are NOT accessible for code.



2008/9/27 fedekun <[EMAIL PROTECTED]>:
> Hi, im having a problem :(
> I have all static files inside stylesheets folder. inside that folder there
> are some html and css files and 2 more folders.
> when i run
> appcfg.py update myAppFolder/
>
> it says
>
> TemplateDoesNotExist: index.html
>
> I didnt have that error with the SDK :/ my app.yaml is
>
> handlers:
> - url: /stylesheets
>   static_dir: stylesheets
>
> index.html is inside stylesheets folder and to print the template i use
>
> path = os.path.join(os.path.dirname(__file__), 'stylesheets/index.html')
>
> i dont think i have to change to /stylesheets/index.html because i copied it
> from the guestbook tutorial...
>
> Thanks in advance!
> --
> Best Regards.
> fedekun
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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