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.
This commit is contained in:
Régis Behmo
2021-02-04 10:51:58 +01:00
parent df89e6d2d2
commit 9370eae0a2

View File

@@ -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