Merge pull request #289 from brianhelba/middleware

This commit is contained in:
Brian Helba 2021-10-25 09:03:21 -04:00 committed by GitHub
commit 8ec465de77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -547,7 +547,7 @@ Other values
::
MIDDLEWARE_CLASSES = values.BackendsValue([
MIDDLEWARE = values.BackendsValue([
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',

View file

@ -95,7 +95,7 @@ class Base(Configuration):
'django.template.loaders.app_directories.Loader',
)
MIDDLEWARE_CLASSES = (
MIDDLEWARE = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',