from django.urls import path from . import views app_name = 'instruments' urlpatterns = [ path('', views.liste, name='liste'), path("delete/", views.InstruDelete.as_view(), name="delete_instru"), path("delete_reparation/", views.delete_rep, name="delete_rep"), path("new", views.InstruCreate.as_view(), name="ajouter_instru"), path("new_rep/", views.create_rep, name="ajouter_rep"), path("update_rep/", views.RepUpdate.as_view(), name="update_rep"), path("fiche/",views.fiche_instru,name="fiche_instru"), ]