Fix imports, remove unused import

This commit is contained in:
0x29a
2020-11-19 10:49:12 +01:00
parent 124a6a1ca8
commit 8961db4f10
6 changed files with 8 additions and 9 deletions

View File

@@ -3,8 +3,8 @@ from datetime import datetime
from django.contrib.auth import get_user_model
from opaque_keys.edx.keys import CourseKey
from student.models import EntranceExamConfiguration
from util import milestones_helpers
from common.djangoapps.student.models import EntranceExamConfiguration
from common.djangoapps.util import milestones_helpers
from .base import OutlineProcessor

View File

@@ -2,7 +2,7 @@ import logging
from django.contrib.auth import get_user_model
from opaque_keys.edx.keys import CourseKey
from util import milestones_helpers
from common.djangoapps.util import milestones_helpers
from .base import OutlineProcessor

View File

@@ -22,8 +22,7 @@ from openedx.core.djangoapps.oauth_dispatch.api import create_dot_access_token
from openedx.core.djangoapps.oauth_dispatch.jwt import create_jwt_from_token
from openedx.core.djangoapps.user_api.accounts.utils import retrieve_last_sitewide_block_completed
from openedx.core.djangoapps.user_authn.exceptions import AuthFailedError
from student.models import CourseEnrollment
from util.json_request import JsonResponse
from common.djangoapps.util.json_request import JsonResponse
log = logging.getLogger(__name__)