[Django]-Django 1.4 : static file not found

3👍

You are probably looking for:

https://docs.djangoproject.com/en/1.4/ref/contrib/staticfiles/#static-file-development-view

UPDATE: I see you have url pattern for static files. Do you have DEBUG=True in settings.py?

0👍

I had the same problem, it couldnt find any static file.
But With Sophy SEMs comment (see above) it worked:

Instead of setting

STATIC_ROOT = os.path.join(SITE_ROOT, 'static')

I’ve set

STATIC_ROOT = ''
STATICFILES_DIRS = ( os.path.join(SITE_ROOT, 'static'), )

Then, it worked.
First I could’nt believe it makes any difference, but as I’ve retestet again, it is significant.

Leave a comment