mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-18 12:30:57 +03:00
via @natea 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
2afb506061
commit
26b2e9ce6a
|
@ -190,7 +190,7 @@ class Common(Configuration):
|
||||||
|
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
|
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
|
||||||
STATICFILES_DIRS = (
|
STATICFILES_DIRS = (
|
||||||
join(BASE_DIR, 'static'),
|
join(BASE_DIR, '..', 'static'),
|
||||||
)
|
)
|
||||||
|
|
||||||
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-finders
|
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-finders
|
||||||
|
|
Loading…
Reference in New Issue
Block a user