> I can't figure out where to put css files or background images  
> referred to by
> css.  I have:
>
> <link rel="stylesheet" href="dirview.css" type="text/css">
> and
> MEDIA_ROOT = '/home/phil/philproj/media/'

Don't you need a '/media/' or something before that 'dirview.css'?  
What is your MEDIA_URL?
Since Django normally has the media files (css, images etc) served  
completely separately, relative paths to media files don't really work.


Btw, be careful when starting a new subject by replying to an old  
thread: you've just hijacked another thread, see 
http://groups.google.com/group/django-users/browse_thread/thread/92052a98c16509a0?hl=en
Better start a new thread/message/question from scratch.



> ls -al /home/phil/philproj/media
> total 12
> drwxr-xr-x 2 phil phil 4096 2008-03-04 11:57 .
> drwxr-xr-x 7 phil phil 4096 2008-03-04 12:14 ..
> -rw-r--r-- 1 phil phil   96 2008-03-04 11:57 dirview.css
>
> I've tried everything? Help? Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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