ernestophone.ens.fr/pads/urls.py
2020-01-09 18:05:18 +01:00

12 lines
347 B
Python

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