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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user