13 lines
360 B
Python
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"),
|
|
]
|