Files
edx-platform/common/djangoapps/student/urls.py
Jawayria 7f5b4a6a47 chore: removed 'wrong-import-order' from disabled imports (#29365)
* chore: removed 'wrong-import-order' from disabled imports
2022-01-06 19:14:51 +05:00

32 lines
952 B
Python

"""
URLs for student app
"""
from django.conf import settings
from django.urls import path, re_path
from . import views
urlpatterns = [
re_path(r'^email_confirm/(?P<key>[^/]*)$', views.confirm_email_change, name='confirm_email_change'),
re_path(r'^activate/(?P<key>[^/]*)$', views.activate_account, name="activate"),
path('accounts/disable_account_ajax', views.disable_account_ajax, name="disable_account_ajax"),
path('accounts/manage_user_standing', views.manage_user_standing, name='manage_user_standing'),
path('api/change_email_settings', views.change_email_settings, name='change_email_settings'),
re_path(fr'^course_run/{settings.COURSE_ID_PATTERN}/refund_status$',
views.course_run_refund_status,
name="course_run_refund_status"),
re_path(
r'^activate_secondary_email/(?P<key>[^/]*)$',
views.activate_secondary_email,
name='activate_secondary_email'
),
]