Commit 80e09b3c authored by Jean-samuel TETTEKPOE's avatar Jean-samuel TETTEKPOE
Browse files

Remove duplicate

parent 4fde85b5
......@@ -74,16 +74,17 @@ INSTALLED_APPS = (
)
MIDDLEWARE = (
MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
# 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'bars_django.utils.BarMiddleware'
)
]
ROOT_URLCONF = 'bars_django.urls'
......
......@@ -31,18 +31,6 @@ TEMPLATES = [
},
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
# 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'bars_django.utils.BarMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware',
]
# DATABASES = {
# 'default': {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment