From e358cfafaab8b90e0a402513abe6499067731f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Dalfors?= Date: Mon, 4 Nov 2019 10:42:31 +0100 Subject: [PATCH] django 2 compatibility set MIDDLEWARE --- testproject/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testproject/settings.py b/testproject/settings.py index 900ed18..68a387f 100644 --- a/testproject/settings.py +++ b/testproject/settings.py @@ -20,6 +20,8 @@ # ... other middleware goes here ] + list(getattr(global_settings, "MIDDLEWARE_CLASSES", [])) +MIDDLEWARE = MIDDLEWARE_CLASSES + LOGGING = { 'version': 1, 'disable_existing_loggers': False,