ernestophone.ens.fr/instruments/urls.py

15 lines
622 B
Python
Raw Normal View History

2021-04-01 21:27:17 +02:00
from django.urls import path
from . import views
2021-04-29 00:27:33 +02:00
app_name = "instruments"
2021-04-01 21:27:17 +02:00
urlpatterns = [
2021-04-29 00:27:33 +02:00
path("", views.ListeInstru.as_view(), name="liste"),
2021-04-29 00:33:58 +02:00
path("delete/<int:pk>", views.DeleteInstru.as_view(), name="delete_instru"),
path("delete_reparation/<int:pk>", views.DeleteRep.as_view(), name="delete_rep"),
2021-04-29 00:27:33 +02:00
path("new", views.CreateInstru.as_view(), name="ajouter_instru"),
path("new_rep/<int:pk>", views.CreateRep.as_view(), name="ajouter_rep"),
path("update_rep/<int:pk>", views.UpdateRep.as_view(), name="update_rep"),
path("fiche/<int:pk>", views.FicheInstru.as_view(), name="fiche_instru"),
2021-04-01 21:27:17 +02:00
]