ernestophone.ens.fr/pads/urls.py
2018-01-05 00:08:12 +01:00

13 lines
332 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()),
path("supprimer/<int:pk>", PadDelete.as_view()),
]