2018-01-04 23:33:31 +01:00
|
|
|
from django.urls import path
|
2016-08-29 05:38:10 +02:00
|
|
|
|
2018-01-04 23:33:31 +01:00
|
|
|
from . import views
|
|
|
|
from .views import EventUpdate, EventDelete
|
2015-04-13 18:56:43 +02:00
|
|
|
|
2020-09-10 15:06:53 +02:00
|
|
|
app_name = 'calendrier'
|
2016-08-29 05:38:10 +02:00
|
|
|
urlpatterns = [
|
2020-09-10 15:06:53 +02:00
|
|
|
path('', views.liste, name='liste'),
|
|
|
|
path("calendar", views.home, name="home"),
|
2018-01-04 23:33:31 +01:00
|
|
|
path("new", views.create_event, name="create_event"),
|
2018-06-25 20:33:14 +02:00
|
|
|
path("edition/<int:pk>", EventUpdate.as_view(), name="edit_event"),
|
|
|
|
path("supprimer/<int:pk>", EventDelete.as_view(), name="delete_event"),
|
2020-09-10 15:06:53 +02:00
|
|
|
path("<int:id>/changename", views.changename, name="change-doodle-name"),
|
2018-01-04 23:33:31 +01:00
|
|
|
path("<int:id>/reponse", views.reponse, name="reponse"),
|
2018-06-25 20:33:14 +02:00
|
|
|
path("<int:pYear>/<int:pMonth>", views.calendar, name="view-month"),
|
2019-03-16 18:54:29 +01:00
|
|
|
path("<int:id>", views.view_event, name="view-event"),
|
2016-08-29 05:38:10 +02:00
|
|
|
]
|