Use relative import for content store reference.
The full import path was having issues in python 3 complaining that it couldn't find the module.
This commit is contained in:
@@ -19,7 +19,7 @@ from opaque_keys.edx.keys import AssetKey, CourseKey
|
||||
from pymongo import ASCENDING, DESCENDING
|
||||
from six import text_type
|
||||
|
||||
from contentstore.utils import reverse_course_url
|
||||
from ..utils import reverse_course_url
|
||||
from contentstore.views.exception import AssetNotFoundException, AssetSizeTooLargeException
|
||||
from edxmako.shortcuts import render_to_response
|
||||
from openedx.core.djangoapps.contentserver.caching import del_cached_content
|
||||
|
||||
Reference in New Issue
Block a user