PLAT-1884 Replace deprecated xblock.fragment usage

This commit is contained in:
Jeremy Bowman
2018-01-11 11:46:24 -05:00
parent 9dcedaf82b
commit f8e5e38cc4
32 changed files with 45 additions and 45 deletions

View File

@@ -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__)

View File

@@ -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