* feat: fill out enrollment serializer * test: add basic integration tests for enrollments * feat: get info for user account activation * test: test integrating user account activation * feat: get course enrollments * feat: get course email settings * feat: add ecommerce info * feat: add resume urls * refactor: move learner home to separate app * refactor: remove course limit Co-authored-by: nsprenkle <nsprenkle@2u.com>
18 lines
966 B
Python
18 lines
966 B
Python
"""Learner dashboard URL routing configuration"""
|
|
|
|
from django.urls import path, re_path
|
|
|
|
from lms.djangoapps.learner_dashboard import programs, program_views
|
|
|
|
urlpatterns = [
|
|
path('programs/', program_views.program_listing, name='program_listing_view'),
|
|
re_path(r'^programs/(?P<program_uuid>[0-9a-f-]+)/$', program_views.program_details, name='program_details_view'),
|
|
re_path(r'^programs/(?P<program_uuid>[0-9a-f-]+)/discussion/$', program_views.ProgramDiscussionIframeView.as_view(),
|
|
name='program_discussion'),
|
|
re_path(r'^programs/(?P<program_uuid>[0-9a-f-]+)/live/$', program_views.ProgramLiveIframeView.as_view(),
|
|
name='program_live'),
|
|
path('programs_fragment/', programs.ProgramsFragmentView.as_view(), name='program_listing_fragment_view'),
|
|
re_path(r'^programs/(?P<program_uuid>[0-9a-f-]+)/details_fragment/$', programs.ProgramDetailsFragmentView.as_view(),
|
|
name='program_details_fragment_view'),
|
|
]
|