Merge pull request #25645 from open-craft/0x29a/squash_warning
Fix imports, remove unused import
This commit is contained in:
@@ -15,7 +15,7 @@ from testfixtures import LogCapture
|
||||
from common.test.utils import MockS3BotoMixin
|
||||
from lms.djangoapps.verify_student.models import SoftwareSecurePhotoVerification
|
||||
from lms.djangoapps.verify_student.tests.test_models import FAKE_SETTINGS, mock_software_secure_post
|
||||
from student.tests.factories import UserFactory
|
||||
from common.djangoapps.student.tests.factories import UserFactory
|
||||
|
||||
LOGGER_NAME = 'lms.djangoapps.verify_student.management.commands.populate_expiration_date'
|
||||
|
||||
|
||||
@@ -1678,10 +1678,10 @@ MIDDLEWARE = [
|
||||
|
||||
# A newer and safer request cache.
|
||||
'edx_django_utils.cache.middleware.RequestCacheMiddleware',
|
||||
'edx_django_utils.monitoring.middleware.CachedCustomMonitoringMiddleware',
|
||||
'edx_django_utils.monitoring.CachedCustomMonitoringMiddleware',
|
||||
|
||||
# Generate code ownership attributes. Keep this immediately after RequestCacheMiddleware.
|
||||
'edx_django_utils.monitoring.code_owner.middleware.CodeOwnerMonitoringMiddleware',
|
||||
'edx_django_utils.monitoring.CodeOwnerMonitoringMiddleware',
|
||||
|
||||
# Cookie monitoring
|
||||
'openedx.core.lib.request_utils.CookieMonitoringMiddleware',
|
||||
|
||||
Reference in New Issue
Block a user