2016-08-29 05:38:10 +02:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
2015-07-22 22:08:59 +02:00
|
|
|
from propositions.views import PropDelete
|
2016-08-29 05:38:10 +02:00
|
|
|
from propositions import views
|
2015-07-22 22:08:59 +02:00
|
|
|
|
2016-08-29 05:38:10 +02:00
|
|
|
urlpatterns = [
|
|
|
|
url(r'^$', views.liste, name='propositions-liste'),
|
|
|
|
url(r'^new/?$', views.create_prop, name='propositions-create'),
|
|
|
|
url(r'^(?P<id>\d+)/oui/?$', views.repoui, name='propositions-oui'),
|
|
|
|
url(r'^(?P<id>\d+)/non/?$', views.repnon, name='propositions-non'),
|
|
|
|
url(r'^(?P<pk>\d+)/supprimer/?$', PropDelete.as_view(),
|
|
|
|
name='propositions-delete'),
|
|
|
|
]
|