diff --git a/lms/templates/dashboard/_dashboard_certificate_information.html b/lms/templates/dashboard/_dashboard_certificate_information.html index 61b2196..7aa705a 100644 --- a/lms/templates/dashboard/_dashboard_certificate_information.html +++ b/lms/templates/dashboard/_dashboard_certificate_information.html @@ -4,7 +4,7 @@ from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML, Text from course_modes.models import CourseMode -from util.course import should_display_grade +from common.djangoapps.util.course import should_display_grade %> <%namespace name='static' file='../static_content.html'/> diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index aed7819..4772ba4 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -12,7 +12,7 @@ from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_string from openedx.core.djangolib.markup import HTML, Text from openedx.features.course_experience import course_home_url_name -from student.helpers import ( +from common.djangoapps.student.helpers import ( VERIFY_STATUS_NEED_TO_VERIFY, VERIFY_STATUS_SUBMITTED, VERIFY_STATUS_RESUBMITTED, @@ -21,7 +21,7 @@ VERIFY_STATUS_NEED_TO_REVERIFY, DISABLE_UNENROLL_CERT_STATES, ) -from util.course import get_link_for_about_page, get_encoded_course_sharing_utm_params +from common.djangoapps.util.course import get_link_for_about_page, get_encoded_course_sharing_utm_params %> <% diff --git a/lms/templates/design-templates/live-blocks/dashboard-course-listing/_dashboard-course-listing-01.html b/lms/templates/design-templates/live-blocks/dashboard-course-listing/_dashboard-course-listing-01.html index 498dd0a..5c1bace 100644 --- a/lms/templates/design-templates/live-blocks/dashboard-course-listing/_dashboard-course-listing-01.html +++ b/lms/templates/design-templates/live-blocks/dashboard-course-listing/_dashboard-course-listing-01.html @@ -12,7 +12,7 @@ from openedx.core.djangolib.js_utils import dump_js_escaped_json from openedx.core.djangolib.markup import HTML, Text from openedx.features.course_experience import course_home_url_name -from student.helpers import ( +from common.djangoapps.student.helpers import ( VERIFY_STATUS_NEED_TO_VERIFY, VERIFY_STATUS_SUBMITTED, VERIFY_STATUS_RESUBMITTED, @@ -21,7 +21,7 @@ VERIFY_STATUS_NEED_TO_REVERIFY, DISABLE_UNENROLL_CERT_STATES, ) -from util.course import get_link_for_about_page, get_encoded_course_sharing_utm_params +from common.djangoapps.util.course import get_link_for_about_page, get_encoded_course_sharing_utm_params %> <% diff --git a/lms/templates/design-templates/pages/dashboard/_dashboard-01.html b/lms/templates/design-templates/pages/dashboard/_dashboard-01.html index 56ebdd1..244fa08 100644 --- a/lms/templates/design-templates/pages/dashboard/_dashboard-01.html +++ b/lms/templates/design-templates/pages/dashboard/_dashboard-01.html @@ -1,8 +1,8 @@ <%! from django.utils.translation import ugettext as _ from django.urls import reverse -from student.models import CourseEnrollment -from entitlements.models import CourseEntitlement +from common.djangoapps.student.models import CourseEnrollment +from common.djangoapps.entitlements.models import CourseEntitlement from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers %> diff --git a/lms/templates/footer-extra.html b/lms/templates/footer-extra.html index 10edc8b..456f014 100644 --- a/lms/templates/footer-extra.html +++ b/lms/templates/footer-extra.html @@ -1,4 +1,4 @@ -<%! from django.contrib.staticfiles.templatetags.staticfiles import static %> +<%! from django.templatetags.static import static %> ## mako diff --git a/lms/templates/head-extra.html b/lms/templates/head-extra.html index 6a6642d..2834c07 100644 --- a/lms/templates/head-extra.html +++ b/lms/templates/head-extra.html @@ -2,7 +2,7 @@ <%namespace name='static' file='/static_content.html'/> <%namespace file='/theme-variables.html' import="get_global_settings, get_brand_favicon" /> <%! from openedx.core.djangoapps.site_configuration.helpers import get_current_site_configuration, get_value %> -<%! from django.contrib.staticfiles.templatetags.staticfiles import static %> +<%! from django.templatetags.static import static %> <%! from openedx.core.lib.courses import course_image_url %> <% style_overrides_file = get_value('css_overrides_file') %> diff --git a/lms/templates/header/brand.html b/lms/templates/header/brand.html index 2ad7c3d..3b473c6 100644 --- a/lms/templates/header/brand.html +++ b/lms/templates/header/brand.html @@ -10,7 +10,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers # App that handles subdomain specific branding -from branding import api as branding_api +from lms.djangoapps.branding import api as branding_api %>