334c1d2f00
Ajoute des changements effectués en prod sans passer par le git
9 lines
309 B
Python
9 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()),
|
|
)
|