2018-01-04 23:33:31 +01:00
|
|
|
from django.urls import path
|
2016-08-29 05:38:10 +02:00
|
|
|
|
|
|
|
from pads import views
|
2016-06-21 00:33:32 +02:00
|
|
|
|
2018-01-04 23:33:31 +01:00
|
|
|
app_name = "pads"
|
2016-08-29 05:38:10 +02:00
|
|
|
urlpatterns = [
|
2020-01-09 18:05:18 +01:00
|
|
|
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"),
|
2016-08-29 05:38:10 +02:00
|
|
|
]
|