Skip to content

Commit

Permalink
update static root for whitenoise
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyFaist committed Oct 18, 2018
1 parent 26a9055 commit dd8436a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gettingstarted/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@
# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases

import dj_database_url

DATABASES = {
"default": {
"ENGINE" : "django.db.backends.sqlite3",
Expand Down Expand Up @@ -115,6 +113,7 @@
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.0/howto/static-files/

STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATIC_URL = "/static/"

django_heroku.settings(locals())

0 comments on commit dd8436a

Please sign in to comment.