BOM-2028: Removed unused imports from common/djangoapps/{course_modes, edxmako, entitlements}
This commit is contained in:
@@ -5,8 +5,6 @@ Add and create new modes for running courses on this particular LMS
|
||||
|
||||
from collections import defaultdict, namedtuple
|
||||
from datetime import timedelta
|
||||
|
||||
import inspect # lint-amnesty, pylint: disable=unused-import
|
||||
import logging
|
||||
import six
|
||||
from config_models.models import ConfigurationModel
|
||||
@@ -21,7 +19,6 @@ from django.utils.timezone import now
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from edx_django_utils.cache import RequestCache
|
||||
from opaque_keys.edx.django.models import CourseKeyField
|
||||
from opaque_keys.edx.keys import CourseKey # lint-amnesty, pylint: disable=unused-import
|
||||
from simple_history.models import HistoricalRecords
|
||||
|
||||
from openedx.core.djangoapps.content.course_overviews.models import CourseOverview
|
||||
|
||||
@@ -17,7 +17,7 @@ import logging
|
||||
|
||||
import six
|
||||
from django.conf import settings
|
||||
from django.http import Http404, HttpResponse # lint-amnesty, pylint: disable=unused-import
|
||||
from django.http import HttpResponse # lint-amnesty, pylint: disable=unused-import
|
||||
from django.template import engines
|
||||
from django.urls import reverse, NoReverseMatch
|
||||
from six.moves.urllib.parse import urljoin
|
||||
@@ -26,7 +26,6 @@ from django.core.exceptions import ValidationError
|
||||
|
||||
from edx_django_utils.monitoring import set_custom_attribute
|
||||
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
|
||||
from openedx.core.djangoapps.theming.helpers import is_request_in_themed_site # lint-amnesty, pylint: disable=unused-import
|
||||
from xmodule.util.xmodule_django import get_current_request_hostname
|
||||
|
||||
from . import Engines
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# -*- coding: utf-8 -*- # lint-amnesty, pylint: disable=missing-module-docstring
|
||||
|
||||
|
||||
from datetime import datetime # lint-amnesty, pylint: disable=unused-import
|
||||
|
||||
from django.db import migrations, models # lint-amnesty, pylint: disable=unused-import
|
||||
|
||||
|
||||
Reference in New Issue
Block a user