from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='home'),
    path('calculate/', views.calculate_chart, name='calculate_chart'),
    path('charts/', views.PersonListView.as_view(), name='person_list'),
    path('chart/<int:pk>/', views.person_detail, name='person_detail'),
    path('chart/<int:pk>/delete/', views.delete_person, name='delete_person'),
    path('relations/', views.person_relations, name='person_relations'),
] 