Coverage for gui/urls.py: 100%
3 statements
« prev ^ index » next coverage.py v7.2.1, created at 2023-03-14 06:24 +0000
« prev ^ index » next coverage.py v7.2.1, created at 2023-03-14 06:24 +0000
1from django.urls import path
3from . import views
5urlpatterns = [
6 path('', views.index, name='index'),
7 path('members', views.MembersListView.as_view(), name='members'),
8 path('members/<int:pk>/make/admin', views.ChangeUserStatus.as_view(), {"superuser": True},
9 name='members-user-to-admin'),
10 path('members/<int:pk>/make/user', views.ChangeUserStatus.as_view(), {"superuser": False},
11 name='members-admin-to-user'),
12 path('about', views.about, name='about'),
13 path('account/delete', views.account_delete, name='account-delete'),
14 path('account/profile', views.profile, name='account-profile'),
15 path('membership/apply', views.membership_application, name='membership-application'),
16 path('membership/approve', views.MembershipApplicationListView.as_view(), name='membership-approval'),
17 path('membership-period/create', views.MembershipPeriodCreateView.as_view(), name='membership-period-create'),
18 path('ballot/', views.BallotListView.as_view(), name='ballot-list'),
19 path('ballot/<int:pk>/vote', views.VotingView.as_view(), name='ballot-vote'),
20 path('ballot/<int:pk>/admin', views.BallotAdminView.as_view(), name='ballot-admin'),
21 path('ballot/<int:pk>/send_reminder', views.BallotSendReminderView.as_view(), name='ballot-send-reminder'),
22]