2020-09-10 15:06:53 +02:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from actu import views
|
|
|
|
|
|
|
|
app_name = "actu"
|
|
|
|
urlpatterns = [
|
|
|
|
path("", views.ActuList.as_view(), name="liste"),
|
|
|
|
path("ajouter", views.ActuCreate.as_view(), name="add_actu"),
|
|
|
|
path("edition/<int:pk>", views.ActuUpdate.as_view(), name="edit_actu"),
|
2021-04-29 00:27:33 +02:00
|
|
|
path("supprimer/<int:pk>", views.ActuDelete.as_view(), name="delete_actu"),
|
2020-09-10 15:06:53 +02:00
|
|
|
]
|