Struggling with an install of GAE-Patch and using my stylesheets. My settings.py has the following lines included already, but the media generator is not compi开发者_Go百科ling and packaging it properly:
'combined-%(LANGUAGE_DIR)s.css': (
'global/look.css',
),
'combined-%(LANGUAGE_DIR)s.css': (
'global/base-%(LANGUAGE_DIR)s.css',
'owr/main.css',
),
and
INSTALLED_APPS = (
'owr',
)
Where is the stylesheet supposed to go, in which folder? Under owr/media?
You should look at the app.yaml file:
It should look like this:
handlers:
- url: /media
static_dir: _generated_media
This means that you need to put your css, etc in the _generated_media folder.
精彩评论