Import CMS code using fully qualified module names

or, using proper the proper Python 3 relative imports
(e.g., 'from .views import x') which are standard and
unambiguous.
This commit is contained in:
Kyle McCormick
2020-10-01 15:59:46 -04:00
committed by Kyle McCormick
parent 7538691484
commit 538dbf696b
114 changed files with 313 additions and 315 deletions

View File

@@ -7,7 +7,7 @@
<%namespace name='static' file='static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from contentstore import utils
from cms.djangoapps.contentstore import utils
from openedx.core.djangoapps.certificates.api import can_show_certificate_available_date_field
from openedx.core.djangolib.js_utils import (
dump_js_escaped_json, js_escaped_string