From 26b2e9ce6a76a8359b4ca13d8a33fc041ec431a1 Mon Sep 17 00:00:00 2001 From: Daniel Greenfeld Date: Thu, 3 Oct 2013 10:14:42 +0200 Subject: [PATCH] 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 --- .../{{cookiecutter.repo_name}}/config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py index 849a3c99..cce2846d 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py @@ -190,7 +190,7 @@ class Common(Configuration): # 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