Move PluginManager out of api folder
This commit is contained in:
@@ -8,7 +8,7 @@ from django.core.files.storage import get_storage_class
|
||||
from six import text_type
|
||||
from xblock.fields import List
|
||||
|
||||
from openedx.core.lib.api.plugins import PluginError
|
||||
from openedx.core.lib.plugins import PluginError
|
||||
|
||||
log = logging.getLogger("edx.courseware")
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ PluginManager.
|
||||
from base64 import b64encode
|
||||
from hashlib import sha1
|
||||
|
||||
from openedx.core.lib.api.plugins import PluginManager
|
||||
from openedx.core.lib.plugins import PluginManager
|
||||
from openedx.core.lib.cache_utils import memoized
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Tabs for courseware.
|
||||
"""
|
||||
from openedx.core.lib.api.plugins import PluginManager
|
||||
from openedx.core.lib.plugins import PluginManager
|
||||
|
||||
# Stevedore extension point namespaces
|
||||
COURSE_TAB_NAMESPACE = 'openedx.course_tab'
|
||||
|
||||
@@ -5,7 +5,7 @@ Tests for the plugin API
|
||||
from django.test import TestCase
|
||||
from nose.plugins.attrib import attr
|
||||
|
||||
from openedx.core.lib.api.plugins import PluginError
|
||||
from openedx.core.lib.plugins import PluginError
|
||||
from openedx.core.lib.course_tabs import CourseTabPluginManager
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Support for course tool plugins.
|
||||
"""
|
||||
from openedx.core.lib.api.plugins import PluginManager
|
||||
from openedx.core.lib.plugins import PluginManager
|
||||
|
||||
# Stevedore extension point namespace
|
||||
COURSE_TOOLS_NAMESPACE = 'openedx.course_tool'
|
||||
|
||||
Reference in New Issue
Block a user