From 68d2e7f37cbda618332869b3b0b2ee2386790030 Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells Date: Sun, 22 Oct 2017 16:46:45 -0400 Subject: [PATCH] Add static files dirs including gulp's destination folder. --- README.md | 1 - babybuddy/settings/base.py | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9512f0c0..6f2706d8 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ python manage.py migrate python manage.py createsuperuser npm install gulp build -python manage.py collectstatic python manage.py runserver ``` diff --git a/babybuddy/settings/base.py b/babybuddy/settings/base.py index 4b8c3b8c..3e39a9ad 100644 --- a/babybuddy/settings/base.py +++ b/babybuddy/settings/base.py @@ -108,6 +108,10 @@ STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static') +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, 'babybuddy/static'), +] + # Django Rest Framework # http://www.django-rest-framework.org/#