From 32fd74f12f557999c1571e4d737179c9cfbb486b Mon Sep 17 00:00:00 2001 From: Muhammad Farhan Date: Wed, 23 Oct 2024 11:23:25 +0500 Subject: [PATCH] chore: Remove CSRF_TRUSTED_ORIGINS_WITH_SCHEMES variable --- edx_exams/settings/production.py | 3 --- 1 file changed, 3 deletions(-) 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