Are you using Django's built in dev server? If so, please see the
doumentation concerning why the dev server doesn't serve static files
such as CSS/JPG/GIF/PNG.

I got around this by using Apache/mod_python as the web server...

Try to type the path to the file

On Jan 19, 3:19 pm, "rsie" <[EMAIL PROTECTED]> wrote:
> I'm not sure what to do to get my templates to resolve the css file
> locations. My media files are located at:
> /home/rsie/projects/django_templates/media/css. I then set
> MEDIA_ROOT=/home/rsie/projects/django_templates
> and then defined <link href="/media/css/default.css" rel="stylesheet"
> type="text/css" /> in my template, but it can't locate the css file.
> Seems like this should be a no-brainer but I'm hitting my head against
> the wall trying to get this to work. Can anybody help?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to