diff --git a/config/django/base.py b/config/django/base.py index d90a4a5e..b93df957 100644 --- a/config/django/base.py +++ b/config/django/base.py @@ -59,6 +59,8 @@ 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', + # http://whitenoise.evans.io/en/stable/django.html#using-whitenoise-in-development + 'whitenoise.runserver_nostatic', 'django.contrib.staticfiles', *THIRD_PARTY_APPS, *LOCAL_APPS, diff --git a/requirements/production.txt b/requirements/production.txt index 5849f45d..e31fb49e 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -1,5 +1,4 @@ -r base.txt -whitenoise==5.3.0 gunicorn==20.1.0 sentry-sdk==1.5.4