From 53ba9eb14f803d23f54a6a8616869b46d0b94a2c Mon Sep 17 00:00:00 2001 From: andrey-canon Date: Tue, 19 Nov 2024 16:28:05 -0500 Subject: [PATCH] feat: use general settings instead of site_configuration --- openedx/core/djangoapps/user_api/accounts/settings_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_api/accounts/settings_views.py b/openedx/core/djangoapps/user_api/accounts/settings_views.py index 177fba641ef..f2b53ecb6f3 100644 --- a/openedx/core/djangoapps/user_api/accounts/settings_views.py +++ b/openedx/core/djangoapps/user_api/accounts/settings_views.py @@ -159,7 +159,7 @@ def account_settings_context(request): 'show_dashboard_tabs': True, 'order_history': user_orders, 'disable_order_history_tab': ( - configuration_helpers.get_value('DISABLE_ORDER_HISTORY_TAB', False) + getattr(settings, 'DISABLE_ORDER_HISTORY_TAB', False) or should_redirect_to_order_history_microfrontend() ), 'enable_account_deletion': configuration_helpers.get_value(