add whitenoise for static file hosting

This commit is contained in:
2021-12-24 10:20:33 -06:00
parent baba70677b
commit d966dd4d69
2 changed files with 3 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ MIDDLEWARE = [
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
]
ROOT_URLCONF = 'benchcoachproject.urls'

View File

@@ -16,4 +16,5 @@ urllib3==1.26.6
zipp==3.5.0
psycopg2
api-client
gunicorn
gunicorn
whitenoise