Skip to content

Commit

Permalink
Merge pull request #154 from openedx/farhan/remove-xblockutils
Browse files Browse the repository at this point in the history
Support backward compatibility for Quince earlier releases
  • Loading branch information
farhan authored Nov 2, 2023
2 parents 6a5d35a + b70c417 commit 26f9343
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion invideoquiz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""
from .invideoquiz import InVideoQuizXBlock

__version__ = '1.3.1'
__version__ = '1.4.0'
7 changes: 6 additions & 1 deletion invideoquiz/invideoquiz.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
from xblock.fields import String
from xblock.fragment import Fragment
from xblock.validation import ValidationMessage
from xblock.utils.studio_editable import StudioEditableXBlockMixin
try:
from xblock.utils.studio_editable import StudioEditableXBlockMixin
except ModuleNotFoundError:
# For backward compatibility with releases older than Quince.
from xblockutils.studio_editable import StudioEditableXBlockMixin


from .utils import _

Expand Down

0 comments on commit 26f9343

Please sign in to comment.