2018-01-04 23:33:31 +01:00
|
|
|
from django.urls import path
|
2016-08-29 05:38:10 +02:00
|
|
|
|
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
|
|
|
|
2018-01-04 23:33:31 +01:00
|
|
|
app_name = "propositions"
|
2016-08-29 05:38:10 +02:00
|
|
|
urlpatterns = [
|
2018-01-05 00:37:44 +01:00
|
|
|
path("", views.liste, name="list"),
|
2018-01-04 23:33:31 +01:00
|
|
|
path("new", views.create_prop, name="create"),
|
|
|
|
path("<int:id>/oui", views.repoui, name="oui"),
|
|
|
|
path("<int:id>/non", views.repnon, name="non"),
|
|
|
|
path("<int:pk>/supprimer", PropDelete.as_view(), name="delete"),
|
2016-08-29 05:38:10 +02:00
|
|
|
]
|