From e38a67ab46dca9208438058932af91d445337ad9 Mon Sep 17 00:00:00 2001 From: Chandana3008 <74036324+Chandana3008@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:48:45 +0530 Subject: [PATCH] Changed url to cms --- cms/urls.py | 3 ++- common/djangoapps/student/urls.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cms/urls.py b/cms/urls.py index c0cc9a719763..7b22b29687b1 100644 --- a/cms/urls.py +++ b/cms/urls.py @@ -24,7 +24,7 @@ from openedx.core.djangoapps.password_policy.forms import PasswordPolicyAwareAdminAuthForm from openedx.core import toggles as core_toggles -from common.djangoapps.student.views.management import extras_course_enroll_user, extras_update_user_details +from common.djangoapps.student.views.management import extras_course_enroll_user, extras_update_user_details, extras_sync_moodle_attendance from cms.djangoapps.contentstore.views.course import extras_create_course from cms.djangoapps.contentstore.views.course import extras_get_moodle_login_url @@ -111,6 +111,7 @@ name='course_search_index_handler' ), re_path(fr'^course/{settings.COURSE_KEY_PATTERN}?$', contentstore_views.course_handler, name='course_handler'), + re_path(r'^extras/sync_moodle_attendance$', views.extras_sync_moodle_attendance, name='extras_sync_moodle_attendance'), re_path(fr'^checklists/{settings.COURSE_KEY_PATTERN}?$', contentstore_views.checklists_handler, diff --git a/common/djangoapps/student/urls.py b/common/djangoapps/student/urls.py index 7e431aa250f8..d8fbf4381999 100644 --- a/common/djangoapps/student/urls.py +++ b/common/djangoapps/student/urls.py @@ -30,7 +30,7 @@ re_path(r'^extras/certificate', views.extras_certificate, name = "extras_certificate"), re_path(r'^extras/transcript', views.extras_transcript, name = "extras_transcript"), - re_path(r'^extras/sync_moodle_attendance$', views.extras_sync_moodle_attendance, name='extras_sync_moodle_attendance'), + re_path(r'^extras/get_user_enrolled_courses', views.extras_get_user_enrolled_courses, name = "extras_get_user_enrolled_courses"), re_path(r'^extras/get_last_login', views.extras_get_last_login, name = "extras_get_last_login"),