mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-30 01:39:45 +03:00
STATIC_ROOT should be absolute path
This commit is contained in:
parent
ce98a8f6f2
commit
429d7ed30f
|
@ -110,7 +110,7 @@ MIDDLEWARE_CLASSES = (
|
||||||
|
|
||||||
########## STATIC FILE CONFIGURATION
|
########## STATIC FILE CONFIGURATION
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-root
|
# 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
|
# See: https://docs.djangoproject.com/en/dev/ref/settings/#static-url
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user