diff --git a/registrar/settings/base.py b/registrar/settings/base.py index 47767097..301fee90 100644 --- a/registrar/settings/base.py +++ b/registrar/settings/base.py @@ -325,7 +325,6 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = False STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage' CSRF_TRUSTED_ORIGINS = [] -CSRF_TRUSTED_ORIGINS_WITH_SCHEMES = [] # temporary setting for Django 4.2 support CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', diff --git a/registrar/settings/production.py b/registrar/settings/production.py index 874e8c29..3ac51fa2 100644 --- a/registrar/settings/production.py +++ b/registrar/settings/production.py @@ -1,5 +1,4 @@ from os import environ -import django import yaml from registrar.settings.base import * @@ -54,6 +53,3 @@ CELERY_BROKER_HOSTNAME, CELERY_BROKER_VHOST ) - -if django.VERSION[0] >= 4: # for greater than django 3.2 use schemes. - CSRF_TRUSTED_ORIGINS = CSRF_TRUSTED_ORIGINS_WITH_SCHEMES