forked from apluslms/a-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
27 lines (24 loc) · 1.08 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from django.urls import re_path
from django.contrib.auth import views as auth_views
from . import views
urlpatterns = [
re_path(r'^login/$', views.CustomLoginView.as_view(), name="login"),
re_path(r'^logout/$', auth_views.LogoutView.as_view(template_name="userprofile/logout.html"),
name="logout"),
re_path(r'^privacy-notice/$', views.PrivacyNoticeView.as_view(),
name="privacy_notice"),
re_path(r'^accessibility-statement/$', views.AccessibilityStatementView.as_view(),
name="accessibility_statement"),
re_path(r'^support/$', views.SupportView.as_view(),
name="support_channels"),
re_path(r'^accounts/$', views.ProfileView.as_view(),
name="profile"),
re_path(r'^setlang', views.set_user_language,
name="set-user-language"),
re_path(r'^regentoken/$', views.regenerate_access_token,
name="regenerate-access-token"),
re_path(r'^teachers/$', views.TeacherListView.as_view(),
name="teachers"),
re_path(r'^pseudonymize/$', views.PseudonymizeView.as_view(),
name="toggle-pseudonymization"),
]