Created
May 3, 2020 05:06
-
-
Save hamedsj/6137ae10b256b9a627ea4c1c4a8f5089 to your computer and use it in GitHub Desktop.
Middlewares in settings.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.messages.middleware.MessageMiddleware', | |
'django.middleware.clickjacking.XFrameOptionsMiddleware', | |
'myapp.MyMiddleware.MyMd', | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment