You must enable URL mapping for the static resource by adding the following lines to urls.py:
# redirects to static media files (css, javascript, images, etc.) (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'static/'}),
UPDATE 1: Check if another user has access to your project directory. chmod -R 755 may be useful.
UPDATE 2: Make sure the following lines are in settings.py
# List of finder classes that know how to find static files in various locations. STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', )
UPDATE 3: I checked the settings.py my project called webui :
STATIC_ROOT = '' STATIC_URL = '/static/' STATICFILES_DIRS = ( 'webui/static', ) STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', )
source share