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