PLAT-1884 Replace deprecated xblock.fragment usage
This commit is contained in:
@@ -5,9 +5,9 @@ Mixin class that provides authoring capabilities for XBlocks.
|
||||
import logging
|
||||
|
||||
from django.conf import settings
|
||||
from web_fragments.fragment import Fragment
|
||||
from xblock.core import XBlock
|
||||
from xblock.fields import XBlockMixin
|
||||
from xblock.fragment import Fragment
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@ Structured Tagging based on XBlockAsides
|
||||
"""
|
||||
|
||||
from django.conf import settings
|
||||
from web_fragments.fragment import Fragment
|
||||
from webob import Response
|
||||
from xblock.core import XBlock, XBlockAside
|
||||
from xblock.fields import Dict, Scope
|
||||
from xblock.fragment import Fragment
|
||||
|
||||
from edxmako.shortcuts import render_to_string
|
||||
from xmodule.capa_module import CapaModule
|
||||
|
||||
Reference in New Issue
Block a user