from django.conf.urls import url from pads import views from pads.views import PadUpdate, PadDelete urlpatterns = [ url(r'^$', views.liste_pads, name='pads-liste'), url(r'^ajouter$', views.add_pad, name='pads-add'), url(r'^edition/(?P\d+)$', PadUpdate.as_view()), url(r'^supprimer/(?P\d+)$', PadDelete.as_view()), ]