Remove unused imports.
This commit is contained in:
@@ -17,7 +17,6 @@ from xmodule.exceptions import NotFoundError
|
||||
from xmodule.contentstore.content import StaticContent
|
||||
from xmodule.contentstore.django import contentstore
|
||||
from xmodule.modulestore import Location
|
||||
from xmodule.modulestore.inheritance import own_metadata
|
||||
|
||||
from .utils import get_modulestore
|
||||
|
||||
|
||||
@@ -11,9 +11,6 @@ from django.http import HttpResponseNotFound
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from xmodule.modulestore.django import loc_mapper
|
||||
|
||||
from xmodule.modulestore.inheritance import own_metadata
|
||||
|
||||
|
||||
from ..utils import get_modulestore
|
||||
from .access import has_course_access
|
||||
from xmodule.course_module import CourseDescriptor
|
||||
|
||||
@@ -20,7 +20,6 @@ from edxmako.shortcuts import render_to_response
|
||||
|
||||
from xmodule.error_module import ErrorDescriptor
|
||||
from xmodule.modulestore.django import modulestore, loc_mapper
|
||||
from xmodule.modulestore.inheritance import own_metadata
|
||||
from xmodule.contentstore.content import StaticContent
|
||||
|
||||
from xmodule.modulestore.exceptions import (
|
||||
|
||||
@@ -10,8 +10,6 @@ from django.core.exceptions import PermissionDenied
|
||||
from django_future.csrf import ensure_csrf_cookie
|
||||
from django.views.decorators.http import require_http_methods
|
||||
from edxmako.shortcuts import render_to_response
|
||||
from xmodule.modulestore import Location
|
||||
from xmodule.modulestore.inheritance import own_metadata
|
||||
from xmodule.modulestore.django import modulestore
|
||||
from xmodule.modulestore.django import loc_mapper
|
||||
from xmodule.modulestore.locator import BlockUsageLocator
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
""" Unit tests for checklist methods in views.py. """
|
||||
from contentstore.utils import get_modulestore
|
||||
from contentstore.views.checklist import expand_checklist_action_url
|
||||
from xmodule.modulestore.inheritance import own_metadata
|
||||
from xmodule.modulestore.tests.factories import CourseFactory
|
||||
from xmodule.modulestore.django import loc_mapper
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ import json
|
||||
from unittest import TestCase
|
||||
from contentstore.tests.utils import CourseTestCase
|
||||
from contentstore.utils import get_modulestore
|
||||
from xmodule.modulestore.inheritance import own_metadata
|
||||
|
||||
from contentstore.views.course import (
|
||||
validate_textbooks_json, validate_textbook_json, TextbookValidationError)
|
||||
|
||||
Reference in New Issue
Block a user