Can anyone help please?
I have been playing around with the app-engine-patch sample app and
guestbook tutorial - great starter resource. Everything has gone very
smoothly until I tried to create some stylesheets for my base
template.
I followed the instructions from the MediaGenerator page in the
documentation and added 'styles.css' to myapp/media and /media. I also
added this code to my /settings.py;
# Combine media files
COMBINE_MEDIA = {
# Create a combined JS file which is called "combined-en.js" for
English,
# "combined-de.js" for German, and so on
'combined-%(LANGUAGE_CODE)s.js': (
# Integrate bla.js from "myapp/media" folder
# You don't write "media" because that folder is used
automatically
'myapp/bla.js',
# Integrate morecode.js from "media" under project root folder
'global/morecode.js',
),
# Create a combined CSS file which is called "combined-ltr.css"
for
# left-to-right text direction
'combined-%(LANGUAGE_DIR)s.css': (
'myapp/style.css',
# Load layout for the correct text direction
'global/layout-%(LANGUAGE_DIR)s.css',
),
}
I now get following line in my generated html page;
<link rel="stylesheet" type="text/css" href="/generated_media/media/1/
combined-ltr.css" />
but no 'combined-ltr.css' has actually been generated!? - should it
have been?
Any input most appreciated. Cheers
P.S. I am very new to python and django so apologies if I have made a
silly mistake
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---