13 lines
412 B
Python
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"),
|
|
]
|