Browse Source

Fix: Should use MIDDLEWARE instead of MIDDLEWARE_CLASSES

pull/218/head
winkidney 4 years ago
parent
commit
7398bc11f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pinry/settings/base.py

+ 1
- 1
pinry/settings/base.py View File

@@ -26,7 +26,7 @@ INSTALLED_APPS = [

ROOT_URLCONF = 'pinry.urls'

MIDDLEWARE_CLASSES = [
MIDDLEWARE = [

'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.security.SecurityMiddleware',


Loading…
Cancel
Save