Merge pull request #16750 from edx/jmbowman/PLAT-1408

PLAT-1408 Update reference to Django's context_processors module
This commit is contained in:
Jeremy Bowman
2017-12-04 10:32:43 -05:00
committed by GitHub

View File

@@ -10,7 +10,7 @@ from .aws import *
# Disable CSRF for load testing
EXCLUDE_CSRF = lambda elem: elem not in [
'django.core.context_processors.csrf',
'django.template.context_processors.csrf',
'django.middleware.csrf.CsrfViewMiddleware'
]
DEFAULT_TEMPLATE_ENGINE['OPTIONS']['context_processors'] = filter(