I’m trying to use the Django nonrel project for google app engine. I setup the test project as described here. I added a new folder to the project named “static” for my static files. And for the app.yaml file i added the lines;
- url: /static
static_dir: static
I can’t reach my static files. Do i have to do additional configuration?
Thx in advance.
app.yamlhave nothing to do with Django, but it does configures App Engine front-end. The answer depends on whether you want to serve static files with Django or the front-end (which is, well, cheaper and faster).If you just “added” your
- url: /staticmapping to the end, move it before the/.*wildcard. As all mappings processed from top to bottom — first matching mapping wins.