2020-12-21 00:07:07 +01:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2021-01-27 13:52:35 +01:00
|
|
|
path(
|
|
|
|
"election/<int:election_id>/login",
|
|
|
|
views.ElectionLoginView.as_view(),
|
|
|
|
name="auth.election",
|
|
|
|
),
|
2021-04-26 17:54:07 +02:00
|
|
|
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"),
|
2022-01-12 11:30:46 +01:00
|
|
|
path("journal", views.JournalView.as_view(), name="auth.journal"),
|
2021-09-06 15:38:25 +02:00
|
|
|
path("admins", views.AdminAccountsView.as_view(), name="auth.admins"),
|
2020-12-21 00:07:07 +01:00
|
|
|
]
|