15 lines
577 B
Python
15 lines
577 B
Python
|
from django.urls import path
|
||
|
|
||
|
from . import views
|
||
|
|
||
|
app_name = 'instruments'
|
||
|
urlpatterns = [
|
||
|
path('', views.liste, name='liste'),
|
||
|
path("delete/<int:pk>", views.InstruDelete.as_view(), name="delete_instru"),
|
||
|
path("delete_reparation/<int:pk>", views.delete_rep, name="delete_rep"),
|
||
|
path("new", views.InstruCreate.as_view(), name="ajouter_instru"),
|
||
|
path("new_rep/<int:pk>", views.create_rep, name="ajouter_rep"),
|
||
|
path("update_rep/<int:pk>", views.RepUpdate.as_view(), name="update_rep"),
|
||
|
path("fiche/<int:pk>",views.fiche_instru,name="fiche_instru"),
|
||
|
]
|