diff --git a/lms/envs/load_test.py b/lms/envs/load_test.py index 3ebe44182c47c3917b47ebd86515d2dbfbf33a66..7b7e7df40517cbe2499d93daeda119798e72b808 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(