from django.urls import path
from . import views

app_name = 'v2_trip'
urlpatterns = [
    path('',          views.main,       name='main'),
    path('<int:pk>/', views.item_form,  name='item_form'),
    path('persons/',  views.go_persons, name='go_persons'),
    path('trips/',    views.go_trips,   name='go_trips'),
    path('entity/<str:name>/<int:pk>/', views.trip_entity, name = 'trip_entity'),
]

from django.urls import path
from . import views

app_name = 'v2_trip'
urlpatterns = [
    path('',          views.main,       name='main'),
    path('<int:pk>/', views.item_form,  name='item_form'),
    path('persons/',  views.go_persons, name='go_persons'),
    path('trips/',    views.go_trips,   name='go_trips'),
    path('entity/<str:name>/<int:pk>/', views.trip_entity, name = 'trip_entity'),
]
