From b785a45a6e059341b1fd3bc254a2381837aa8922 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Wed, 23 Jan 2019 17:25:56 +0300 Subject: [PATCH] try to fix djconfig --- config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings.py b/config/settings.py index 3e548d1..471ee1c 100644 --- a/config/settings.py +++ b/config/settings.py @@ -33,6 +33,7 @@ INSTALLED_APPS = [ ] MIDDLEWARE = [ + 'djconfig.middleware.DjConfigMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', @@ -40,7 +41,6 @@ MIDDLEWARE = [ 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', - 'djconfig.middleware.DjConfigMiddleware', ] ROOT_URLCONF = 'config.urls'