On Sep 13, 9:59 am, "GAE-framework.googlecode.com"
<[email protected]> wrote:
> Hi all!
>
> Try to do this (in my case this is Python environment).
>
> #1. add code to app.yaml file
>
> application: your-app-id
> version: 1
> runtime: python
> api_version: 1
>
> handlers:
> # serving global static files
> - url: /static/css
>   static_dir: static/css
> - url: /static/js
>   static_dir: static/js
> - url: /static/img
>   static_dir: static/img
> # serving static files: static/app_name/... -> app_name/static/...
> - url: /static/(\w+)/(.*)
>   static_files: \\1/static/\\2
>   upload: \\1/static/\\2

You can't write your upload: declaration like that; no URL is being
matched during upload, and appcfg.py has no way of knowing which files
to upload.

Maybe try ".*/static/.*"?

-- 
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