mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-27 08:50:38 +03:00
since the settings.py file is nested inside the config/ dir, we need to go up one directory to find the static files
This commit is contained in:
parent
e902821117
commit
76a604da17
|
@ -281,7 +281,7 @@ class Local(Common):
|
|||
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
|
||||
STATICFILES_DIRS = (
|
||||
join(BASE_DIR, 'static'),
|
||||
join(BASE_DIR, '..', 'static'),
|
||||
)
|
||||
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-finders
|
||||
|
|
Loading…
Reference in New Issue
Block a user