ernestophone.ens.fr/propositions/urls.py
2018-01-05 00:37:44 +01:00

13 lines
412 B
Python

from django.urls import path
from propositions.views import PropDelete
from propositions import views
app_name = "propositions"
urlpatterns = [
path("", views.liste, name="list"),
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"),
]