From 47b8d9d9126f55eb914efeb71cc0a6532ba8a389 Mon Sep 17 00:00:00 2001 From: jenniw Date: Tue, 7 Nov 2023 15:36:27 -0500 Subject: [PATCH] Change urls to not break (#1982) --- courses/urls/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/courses/urls/__init__.py b/courses/urls/__init__.py index 6d919cedf4..7757c4b834 100644 --- a/courses/urls/__init__.py +++ b/courses/urls/__init__.py @@ -17,10 +17,10 @@ ] urlpatterns += [ - re_path("api/records/program//share/", v1.get_learner_record_share), - re_path("api/records/program//revoke/", v1.revoke_learner_record_share), - re_path("api/records/program//", v1.get_learner_record), - re_path( + path("api/records/program//share/", v1.get_learner_record_share), + path("api/records/program//revoke/", v1.revoke_learner_record_share), + path("api/records/program//", v1.get_learner_record), + path( "api/records/shared//", v1.get_learner_record_from_uuid, name="shared_learner_record_from_uuid",