0

CSS link:

<link rel="stylesheet" href="/site_media/style.css"
        type="/text/css" /> 

I'm getting a -404 error while loading my CSS sheet.When I try to debug the location thru Firebug(Firefox), I get the below location.

"C:\Python27\Djangoprojects\django_bookmarks..\django_bookmarks\site_media\style.css" does not exist

Site_media is determined by the Python code in URLS.py

site_media = os.path.join(os.path.dirname(__file__), 'site_media')

Why do I get the ..\ in the location?

4

0 回答 0