kadenios/shared/auth/urls.py

19 lines
617 B
Python
Raw Permalink Normal View History

2020-12-21 00:07:07 +01:00
from django.urls import path
from . import views
urlpatterns = [
path(
"election/<int:election_id>/login",
views.ElectionLoginView.as_view(),
name="auth.election",
),
path("pwd-create", views.CreatePwdAccount.as_view(), name="auth.create-account"),
2021-07-13 02:41:32 +02:00
path("admin", views.AdminPanelView.as_view(), name="auth.admin"),
path(
"permissions", views.PermissionManagementView.as_view(), name="auth.permissions"
),
path("accounts", views.AccountListView.as_view(), name="auth.accounts"),
path("admins", views.AdminAccountsView.as_view(), name="auth.admins"),
2020-12-21 00:07:07 +01:00
]