Skip to content

Instantly share code, notes, and snippets.

@Hassanzadeh-sd
Last active October 15, 2019 14:43
Show Gist options
  • Save Hassanzadeh-sd/09499219617cbbc05342dac85dd3f42a to your computer and use it in GitHub Desktop.
Save Hassanzadeh-sd/09499219617cbbc05342dac85dd3f42a to your computer and use it in GitHub Desktop.
MIDDLEWARE = [
'app.custommiddleware.ProcessViewNoneMiddleware',
'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',
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment