ernestophone.ens.fr/calendrier/urls.py
2020-09-10 15:06:53 +02:00

17 lines
702 B
Python

from django.urls import path
from . import views
from .views import EventUpdate, EventDelete
app_name = 'calendrier'
urlpatterns = [
path('', views.liste, name='liste'),
path("calendar", 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("<int:id>/changename", views.changename, name="change-doodle-name"),
path("<int:id>/reponse", views.reponse, name="reponse"),
path("<int:pYear>/<int:pMonth>", views.calendar, name="view-month"),
path("<int:id>", views.view_event, name="view-event"),
]