mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 10:20:39 +01:00
Fix: Should use MIDDLEWARE instead of MIDDLEWARE_CLASSES
This commit is contained in:
@@ -26,7 +26,7 @@ INSTALLED_APPS = [
|
||||
|
||||
ROOT_URLCONF = 'pinry.urls'
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
MIDDLEWARE = [
|
||||
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
|
||||
Reference in New Issue
Block a user