from django.urls import path

from . import views

app_name = "taxi"

urlpatterns = [
    path("", views.TaxiListView.as_view(), name='home'),
    path('add/', views.TaxiCreateView.as_view(), name='add'),
    # path('active/', views.UserProductListView.as_view(), name='active'),
    path('<slug:slug>/edit/', views.TaxiUpdateView.as_view(), name='edit'),
    path('<slug:slug>/delete/', views.TaxiDeleteView.as_view(), name='delete'),
    path('<slug:slug>/', views.TaxiDetailView.as_view(), name='detail'),
    
]

92bbca51f692128ccecf262354a169c107df8de7
<mask token>

<mask token>
app_name = 'taxi'
urlpatterns = [path('', views.TaxiListView.as_view(), name='home'), path(
    'add/', views.TaxiCreateView.as_view(), name='add'), path(
    '<slug:slug>/edit/', views.TaxiUpdateView.as_view(), name='edit'), path
    ('<slug:slug>/delete/', views.TaxiDeleteView.as_view(), name='delete'),
    path('<slug:slug>/', views.TaxiDetailView.as_view(), name='detail')]

from django.urls import path
from . import views
app_name = 'taxi'
urlpatterns = [path('', views.TaxiListView.as_view(), name='home'), path(
    'add/', views.TaxiCreateView.as_view(), name='add'), path(
    '<slug:slug>/edit/', views.TaxiUpdateView.as_view(), name='edit'), path
    ('<slug:slug>/delete/', views.TaxiDeleteView.as_view(), name='delete'),
    path('<slug:slug>/', views.TaxiDetailView.as_view(), name='detail')]

from django.urls import path

from . import views

app_name = "taxi"

urlpatterns = [
    path("", views.TaxiListView.as_view(), name='home'),
    path('add/', views.TaxiCreateView.as_view(), name='add'),
    # path('active/', views.UserProductListView.as_view(), name='active'),
    path('<slug:slug>/edit/', views.TaxiUpdateView.as_view(), name='edit'),
    path('<slug:slug>/delete/', views.TaxiDeleteView.as_view(), name='delete'),
    path('<slug:slug>/', views.TaxiDetailView.as_view(), name='detail'),
    
]
