2015-07-22 22:08:59 +02:00
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
from propositions.views import PropDelete
|
|
|
|
|
2016-07-14 01:58:52 +02:00
|
|
|
urlpatterns = patterns(
|
|
|
|
'propositions.views',
|
2015-07-22 22:08:59 +02:00
|
|
|
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()),
|
|
|
|
)
|