video_module
from xmodule.modulestore.django import modulestore
store = modulestore()
course = store.get_course(self.course_id, depth=3)
lms:
from courseware.courses import get_course_by_id
course = get_course_by_id(self.course_id)
转载于:https://my.oschina.net/u/2002748/blog/414802