Files
edx-platform/lms/djangoapps/learner_dashboard/urls.py
uzairr fa6a5f99a5 Create program detail fragment for mobile app
To extract the program detail information edX mobile team has to
parse all the un-necassary details which takes time that ultimately
slows down app.To avoid it,a detail fragment is created that will
be used in the mobile app as well as on the web.

LEARNER-2981
2017-11-14 07:53:12 +00:00

13 lines
624 B
Python

"""Learner dashboard URL routing configuration"""
from django.conf.urls import url
from lms.djangoapps.learner_dashboard import programs, views
urlpatterns = [
url(r'^programs/$', views.program_listing, name='program_listing_view'),
url(r'^programs/(?P<program_uuid>[0-9a-f-]+)/$', views.program_details, name='program_details_view'),
url(r'^programs_fragment/$', programs.ProgramsFragmentView.as_view(), name='program_listing_fragment_view'),
url(r'^programs/(?P<program_uuid>[0-9a-f-]+)/details_fragment/$', programs.ProgramDetailsFragmentView.as_view(),
name='program_details_fragment_view'),
]