Add static files dirs including gulp's destination folder.

This commit is contained in:
Christopher Charbonneau Wells 2017-10-22 16:46:45 -04:00
parent 3545265d02
commit 68d2e7f37c
2 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,6 @@ python manage.py migrate
python manage.py createsuperuser
npm install
gulp build
python manage.py collectstatic
python manage.py runserver
```

View File

@ -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/#