Merge PR #27289 refactor/lms-to-core/get-course-by-id
* Commits: refactor: Import a single function, not the whole module refactor: Move get_course_by_id helper from LMS to core
This commit is contained in:
@@ -8,8 +8,8 @@ This includes any locally defined CourseTools.
|
||||
from django.urls import reverse
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from lms.djangoapps.courseware.courses import get_course_by_id
|
||||
from common.djangoapps.student.models import CourseEnrollment
|
||||
from openedx.core.lib.courses import get_course_by_id
|
||||
|
||||
from . import DISABLE_UNIFIED_COURSE_TAB_FLAG
|
||||
from .course_tools import CourseTool
|
||||
|
||||
Reference in New Issue
Block a user