From 9370eae0a2aeb6b3e2a659d84ffbae8627335d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 4 Feb 2021 10:51:58 +0100 Subject: [PATCH] Upgrade usage of edx_toggles.toggles The waffle classes previously in future are now available directly from edx_toggles.toggles. Since this future module is going to be removed soon, we become future-proof by getting rid of it. --- .../core/djangoapps/content/block_structure/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/content/block_structure/config/__init__.py b/openedx/core/djangoapps/content/block_structure/config/__init__.py index d10813d448..6cdc8af724 100644 --- a/openedx/core/djangoapps/content/block_structure/config/__init__.py +++ b/openedx/core/djangoapps/content/block_structure/config/__init__.py @@ -3,7 +3,7 @@ This module contains various configuration settings via waffle switches for the Block Structure framework. """ from edx_django_utils.cache import RequestCache -from edx_toggles.toggles.__future__ import WaffleSwitch +from edx_toggles.toggles import WaffleSwitch from openedx.core.lib.cache_utils import request_cached