diff --git a/atdb/atdb/settings/base.py b/atdb/atdb/settings/base.py index a8075a69a5ffe45242acc4a56e7db01ccccd9c54..6d0ad969bf3ec5ee3f5685ab1f68436076bcfb75 100644 --- a/atdb/atdb/settings/base.py +++ b/atdb/atdb/settings/base.py @@ -48,6 +48,7 @@ INSTALLED_APPS = [ MIDDLEWARE = [ 'corsheaders.middleware.CorsMiddleware', 'django.middleware.security.SecurityMiddleware', + 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', diff --git a/atdb/requirements/base.txt b/atdb/requirements/base.txt index 2d9aa37592744a7c4ddce9a171e9344dad2b236e..d94fa6d53605b98bfd67df99632de8068443dc7c 100644 --- a/atdb/requirements/base.txt +++ b/atdb/requirements/base.txt @@ -1,6 +1,6 @@ certifi==2018.8.13 chardet==3.0.4 -Django==2.1 +Django==2.2.13 django-filter==2.0.0 djangorestframework==3.8.2 idna==2.7 @@ -12,3 +12,4 @@ urllib3==1.23 django-cors-headers==2.4.0 django-extensions==2.1.4 django-bootstrap-pagination==1.7.0 +whitenoise==5.0.1 \ No newline at end of file