diff --git a/lms/envs/load_test.py b/lms/envs/load_test.py index 3ebe44182c..7b7e7df405 100644 --- a/lms/envs/load_test.py +++ b/lms/envs/load_test.py @@ -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(