ernestophone.ens.fr/pads/urls.py
2018-06-25 20:36:58 +02:00

13 lines
360 B
Python

from django.urls import path
from pads import views
from pads.views import PadUpdate, PadDelete
app_name = "pads"
urlpatterns = [
path("", views.liste_pads, name="list"),
path("ajouter", views.add_pad, name="add"),
path("edition/<int:pk>", PadUpdate.as_view(), name="edit"),
path("supprimer/<int:pk>", PadDelete.as_view(), name="delete"),
]