39291-vm/core/urls.py
Flatlogic Bot 46ee143ab1 1.1
2026-04-01 16:28:08 +00:00

16 lines
733 B
Python

from django.urls import path
from .views import distance_estimate, home, report_export_csv, report_view, trip_create, trip_delete, trip_detail, trip_list, trip_update
urlpatterns = [
path("", home, name="home"),
path("trips/", trip_list, name="trip_list"),
path("trips/new/", trip_create, name="trip_create"),
path("trips/<int:pk>/", trip_detail, name="trip_detail"),
path("trips/<int:pk>/edit/", trip_update, name="trip_update"),
path("trips/<int:pk>/delete/", trip_delete, name="trip_delete"),
path("reports/", report_view, name="report_view"),
path("reports/export.csv", report_export_csv, name="report_export_csv"),
path("distance/estimate/", distance_estimate, name="distance_estimate"),
]