Files
edx-platform/openedx/features/course_experience/urls.py
Harry Rein bdf38ae00e Implemented an upgrade verification sock.
This sock sits at the bottom of both the home and the course content pages. It allows the user to click a 'Learn More' button to open a panel that allows the user to navigate to the upgrade checkout page. The sock is only shown for users that have not yet upgraded in a course that has a verification upgrade date that has not yet passed. Python tests cover the various course mode and upgrade dates.
2017-06-15 13:10:34 -04:00

50 lines
1.5 KiB
Python

"""
Defines URLs for the course experience.
"""
from django.conf.urls import url
from views.course_home import CourseHomeFragmentView, CourseHomeView
from views.course_outline import CourseOutlineFragmentView
from views.course_updates import CourseUpdatesFragmentView, CourseUpdatesView
from views.welcome_message import WelcomeMessageFragmentView
from views.course_sock import CourseSockFragmentView
urlpatterns = [
url(
r'^$',
CourseHomeView.as_view(),
name='openedx.course_experience.course_home',
),
url(
r'^updates$',
CourseUpdatesView.as_view(),
name='openedx.course_experience.course_updates',
),
url(
r'^home_fragment$',
CourseHomeFragmentView.as_view(),
name='openedx.course_experience.course_home_fragment_view',
),
url(
r'^outline_fragment$',
CourseOutlineFragmentView.as_view(),
name='openedx.course_experience.course_outline_fragment_view',
),
url(
r'^updates_fragment$',
CourseUpdatesFragmentView.as_view(),
name='openedx.course_experience.course_updates_fragment_view',
),
url(
r'^welcome_message_fragment$',
WelcomeMessageFragmentView.as_view(),
name='openedx.course_experience.welcome_message_fragment_view',
),
url(
r'course_sock_fragment$',
CourseSockFragmentView.as_view(),
name='openedx.course_experience.course_sock_fragment_view',
),
]