Moves the Program Dashboard APIs out of the deprecated remnants of the legacy learner dashboard, into the Programs djangoapp. Keeps the old legacy routes for this API, left over from the deprecated remnants of the legacy learner dashboard, alongside future-proofed routes which will work when the deprecated, legacy Program Dashboard is eventually replaced with functionality in the Learner Dashboard MFE. FIXES: APER-3949
20 lines
467 B
Python
20 lines
467 B
Python
"""
|
|
Learner Home URL routing configuration
|
|
"""
|
|
|
|
from django.urls import path
|
|
from django.urls import include, re_path
|
|
|
|
from lms.djangoapps.learner_home import views
|
|
from .rest_api import urls as rest_api_urls
|
|
|
|
|
|
app_name = "learner_home"
|
|
|
|
# Learner Dashboard Routing
|
|
urlpatterns = [
|
|
re_path(r"^init/?", views.InitializeView.as_view(), name="initialize"),
|
|
path("mock/", include("lms.djangoapps.learner_home.mock.urls")),
|
|
path("", include(rest_api_urls)),
|
|
]
|