ernestophone.ens.fr/pads/urls.py

12 lines
346 B
Python
Raw Normal View History

2018-01-04 23:33:31 +01:00
from django.urls import path
from pads import views
2018-01-04 23:33:31 +01:00
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"),
]