STATIC_ROOT should be absolute path

This commit is contained in:
Bouke Haarsma 2013-08-29 09:08:48 +02:00
parent ce98a8f6f2
commit 429d7ed30f

View File

@ -110,7 +110,7 @@ MIDDLEWARE_CLASSES = (
########## STATIC FILE CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root
STATIC_ROOT = 'staticfiles'
STATIC_ROOT = join(os.path.dirname(BASE_DIR), 'static')
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url
STATIC_URL = '/static/'