diff --git a/cms/envs/production.py b/cms/envs/production.py index 604d2753bccd..7c0efc213395 100644 --- a/cms/envs/production.py +++ b/cms/envs/production.py @@ -325,7 +325,6 @@ def get_env_setting(setting): # value rathering than diving into these dicts. ENV_TOKENS = _YAML_TOKENS AUTH_TOKENS = _YAML_TOKENS -ENV_FEATURES = _YAML_TOKENS.get("FEATURES", {}) ENV_CELERY_QUEUES = _YAML_CELERY_QUEUES ALTERNATE_QUEUE_ENVS = _YAML_ALTERNATE_WORKER_QUEUES diff --git a/lms/envs/production.py b/lms/envs/production.py index b13f232f5bb7..ad42e72eef19 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -422,7 +422,6 @@ def get_env_setting(setting): # value rathering than diving into these dicts. ENV_TOKENS = _YAML_TOKENS AUTH_TOKENS = _YAML_TOKENS -ENV_FEATURES = _YAML_TOKENS.get("FEATURES", {}) ENV_CELERY_QUEUES = _YAML_CELERY_QUEUES ALTERNATE_QUEUE_ENVS = _YAML_ALTERNATE_WORKER_QUEUES diff --git a/xmodule/capa_block.py b/xmodule/capa_block.py index 958ca1354142..0b59257a53fd 100644 --- a/xmodule/capa_block.py +++ b/xmodule/capa_block.py @@ -19,7 +19,6 @@ import nh3 from django.conf import settings -from django.core.exceptions import ImproperlyConfigured from django.template.loader import render_to_string from django.utils.encoding import smart_str from django.utils.functional import cached_property @@ -73,12 +72,6 @@ MAX_RANDOMIZATION_BINS = 1000 -try: - FEATURES = getattr(settings, "FEATURES", {}) -except ImproperlyConfigured: - FEATURES = {} - - class SHOWANSWER: # pylint: disable=too-few-public-methods """ Constants for when to show answer diff --git a/xmodule/partitions/partitions_service.py b/xmodule/partitions/partitions_service.py index 3a0cf9d9c61d..b9a060d15219 100644 --- a/xmodule/partitions/partitions_service.py +++ b/xmodule/partitions/partitions_service.py @@ -6,7 +6,6 @@ import logging from typing import Dict # noqa: UP035 -from django.conf import settings from django.contrib.auth import get_user_model from opaque_keys.edx.keys import CourseKey @@ -21,8 +20,6 @@ log = logging.getLogger(__name__) -FEATURES = getattr(settings, 'FEATURES', {}) - @request_cached() def get_all_partitions_for_course(course, active_only=False):