19 lines
805 B
Python
19 lines
805 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
from .views import EventUpdate, EventDelete
|
|
|
|
|
|
app_name = "calendrier"
|
|
urlpatterns = [
|
|
path("", views.home, name="home"),
|
|
path("new", views.create_event, name="create_event"),
|
|
path("edition/<int:pk>", EventUpdate.as_view(), name="edit_event"),
|
|
path("supprimer/<int:pk>", EventDelete.as_view(), name="delete_event"),
|
|
path("resend/<int:id>", views.resend, name="resend"),
|
|
path("changename", views.changename, name="change-doodle-name"),
|
|
path("<int:id>/reponse", views.reponse, name="reponse"),
|
|
path("rep/<str:codeus>/<slug:codeev>/<slug:coderep>", views.reponse_event, name="reponse_event"),
|
|
path("<int:pYear>/<int:pMonth>", views.calendar, name="view-month"),
|
|
path("<int:id>", views.view_event, name="view-event"),
|
|
]
|