from django.urls import path
from . import views

urlpatterns = [
    path('', views.index, name='index'),
    path('voter/<int:pk>/', views.voter_detail, name='voter_detail'),
    path('voter/<int:pk>/edit/', views.voter_edit, name='voter_edit'),
    path('voter/<int:pk>/add-voting-record/', views.add_voting_record, name='add_voting_record'),
    path('voter/<int:pk>/add-donation/', views.add_donation, name='add_donation'),
    path('voter/<int:pk>/add-contact/', views.add_contact, name='add_contact'),
    path('voter/<int:pk>/add-event/', views.add_event, name='add_event'),
]