11 lines
345 B
Python
11 lines
345 B
Python
|
from django.conf.urls import patterns, url
|
||
|
from propositions.views import PropDelete
|
||
|
|
||
|
urlpatterns = patterns('propositions.views',
|
||
|
url(r'^$', 'liste'),
|
||
|
url(r'^new/?$', 'create_prop'),
|
||
|
url(r'^(?P<id>\d+)/oui/?$', 'repoui'),
|
||
|
url(r'^(?P<id>\d+)/non/?$', 'repnon'),
|
||
|
url(r'^(?P<pk>\d+)/supprimer/?$', PropDelete.as_view()),
|
||
|
)
|