ernestophone.ens.fr/instruments/urls.py

15 lines
577 B
Python
Raw Normal View History

2021-04-01 21:27:17 +02:00
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"),
]