I have 'django.contrib.staticfiles' in my INSTALLED_APPS and
STATIC_URL="/static/"

If I go to my admin page, it attempts to load the base css file from
/static/admin/css/base.css, and fails.

If I open this url in my browser I get

"/home/mike/workspace/django/django/contrib/admin/media/css/base.css"
does not exist
You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a
standard 404 page.

(I'm using setup.py develop to run django directly from my home folder
-- I don't *think* this is relevant)

If I go digging, I can see that the relevant css actually exists at

/home/mike/workspace/django/django/contrib/admin/static/admin/css/base.css

I don't understand the mis-match between where Django is looking for
the file and where the file actually exists in the provided directory
structure, given that I don't have anything fancy going on in my
settings. This looks to me like a bug, but I couldn't find any
discussion of such, so I wanted to check with the users list first to
make sure I'm not missing anything.

-Mike

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to