Skip to content

Commit

Permalink
refactor: remove xblockutils package
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan committed Oct 25, 2023
1 parent fefcbc4 commit c0e5c37
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 6 additions & 2 deletions freetextresponse/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
from six import text_type
from xblock.core import XBlock
from xblock.validation import ValidationMessage
from xblockutils.resources import ResourceLoader
from xblockutils.studio_editable import StudioEditableXBlockMixin
try:
from xblock.utils.resources import ResourceLoader
from xblock.utils.studio_editable import StudioEditableXBlockMixin
except ModuleNotFoundError: # For backward compatibility with releases older than Quince.
from xblockutils.resources import ResourceLoader
from xblockutils.studio_editable import StudioEditableXBlockMixin

from .mixins.dates import EnforceDueDates
from .mixins.fragment import XBlockFragmentBuilderMixin
Expand Down
1 change: 0 additions & 1 deletion requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
Django
six
XBlock
xblock-utils
1 change: 0 additions & 1 deletion requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ edx-opaque-keys
lazy
mock
xblock-sdk
xblock-utils

0 comments on commit c0e5c37

Please sign in to comment.