diff --git a/edx_exams/settings/production.py b/edx_exams/settings/production.py index efc039e2..7b39f543 100644 --- a/edx_exams/settings/production.py +++ b/edx_exams/settings/production.py @@ -57,6 +57,3 @@ # EMAIL CONFIGURATION EMAIL_BACKEND = 'django_ses.SESBackend' - -if django.VERSION[0] >= 4: # for greater than django 3.2 use schemes. - CSRF_TRUSTED_ORIGINS = CSRF_TRUSTED_ORIGINS_WITH_SCHEME