Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-yu committed Mar 6, 2019
1 parent cf0cce1 commit fa6ba96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hwlog/hwlog/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
SECRET_KEY = 'mw^rbi8$qa^ivi*&&+)jz8+ul2xxn-^%$p4w4d9#hxtveisz7f'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

ALLOWED_HOSTS = ['*']

Expand All @@ -44,7 +44,7 @@

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
# 'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
Expand Down Expand Up @@ -122,7 +122,7 @@
# https://docs.djangoproject.com/en/1.11/howto/static-files/


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


Expand Down

0 comments on commit fa6ba96

Please sign in to comment.