kumidc/frontend/urls.py
2022-08-04 13:15:10 +02:00

15 lines
No EOL
680 B
Python

from django.urls import path
from .views.dashboard import IndexView, DashboardView
from .views.password import PasswordChangeView
from .views.otp import TOTPActivationView, TOTPDeactivationView, TOTPDispatcherView
urlpatterns = [
path("", IndexView.as_view()),
path("dashboard/", DashboardView.as_view(), name="dashboard"),
path("profile/change_password/", PasswordChangeView.as_view(), name="change_password"),
path("profile/totp/", TOTPDispatcherView.as_view(), name="totp"),
path("profile/totp/activate/", TOTPActivationView.as_view(), name="activate_totp"),
path("profile/totp/deactivate/", TOTPDeactivationView.as_view(), name="deactivate_totp"),
]