ernestophone.ens.fr/calendrier/urls.py

18 lines
702 B
Python
Raw Permalink Normal View History

2018-01-04 23:33:31 +01:00
from django.urls import path
2018-01-04 23:33:31 +01:00
from . import views
from .views import EventUpdate, EventDelete
2015-04-13 18:56:43 +02:00
app_name = 'calendrier'
urlpatterns = [
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"),
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"),
]