10 lines
309 B
Python
10 lines
309 B
Python
|
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<pk>\d+)$', PadUpdate.as_view()),
|
||
|
url(r'^supprimer/(?P<pk>\d+)$', PadDelete.as_view()),
|
||
|
)
|