2016-08-29 05:38:10 +02:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
|
|
|
from pads import views
|
2016-06-21 00:33:32 +02:00
|
|
|
from pads.views import PadUpdate, PadDelete
|
|
|
|
|
2016-07-14 01:58:52 +02:00
|
|
|
|
2016-08-29 05:38:10 +02:00
|
|
|
urlpatterns = [
|
|
|
|
url(r'^$', views.liste_pads, name='pads-liste'),
|
|
|
|
url(r'^ajouter$', views.add_pad, name='pads-add'),
|
2016-06-21 00:33:32 +02:00
|
|
|
url(r'^edition/(?P<pk>\d+)$', PadUpdate.as_view()),
|
|
|
|
url(r'^supprimer/(?P<pk>\d+)$', PadDelete.as_view()),
|
2016-08-29 05:38:10 +02:00
|
|
|
]
|