Skip to content

Commit

Permalink
refactor: migrate from xblock-utils package to xblock.utils
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan committed Oct 20, 2023
1 parent 99f5f93 commit 14744d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/lib/sql_grader/xblocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
A custom submission type to evaluate SQL queries
"""
from xblock.core import XBlock
from xblockutils.resources import ResourceLoader
from xblockutils.studio_editable import StudioEditableXBlockMixin
from xblock.utils.resources import ResourceLoader
from xblock.utils.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 @@ -3,6 +3,5 @@

Django
XBlock
xblock-utils
# TODO: Change this once codejail is published to pypi
-e git+https://github.com/openedx/[email protected]#egg=codejail
4 changes: 2 additions & 2 deletions sql_grader/xblocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
A custom submission type to evaluate SQL queries
"""
from xblock.core import XBlock
from xblockutils.resources import ResourceLoader
from xblockutils.studio_editable import StudioEditableXBlockMixin
from xblock.utils.resources import ResourceLoader
from xblock.utils.studio_editable import StudioEditableXBlockMixin

from .mixins.dates import EnforceDueDates
from .mixins.fragment import XBlockFragmentBuilderMixin
Expand Down

0 comments on commit 14744d5

Please sign in to comment.