2019-04-12 17:07:03 +02:00
|
|
|
from django.urls import path
|
2018-10-06 12:35:49 +02:00
|
|
|
|
2018-11-25 00:37:22 +01:00
|
|
|
from gestioncof import views
|
2016-06-08 22:28:38 +02:00
|
|
|
|
|
|
|
export_patterns = [
|
2019-04-12 17:07:03 +02:00
|
|
|
path("members", views.export_members, name="cof.membres_export"),
|
|
|
|
path(
|
|
|
|
"mega/avecremarques",
|
2018-10-06 12:35:49 +02:00
|
|
|
views.export_mega_remarksonly,
|
|
|
|
name="cof.mega_export_remarks",
|
|
|
|
),
|
2019-04-12 17:07:03 +02:00
|
|
|
path(
|
|
|
|
"mega/participants",
|
2018-10-06 12:35:49 +02:00
|
|
|
views.export_mega_participants,
|
|
|
|
name="cof.mega_export_participants",
|
|
|
|
),
|
2019-04-12 17:07:03 +02:00
|
|
|
path("mega/orgas", views.export_mega_orgas, name="cof.mega_export_orgas"),
|
|
|
|
path("mega", views.export_mega, name="cof.mega_export"),
|
2016-06-08 22:28:38 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
surveys_patterns = [
|
2019-04-12 17:07:03 +02:00
|
|
|
path("<int:survey_id>/status", views.survey_status, name="survey.details.status"),
|
|
|
|
path("<int:survey_id>", views.survey, name="survey.details"),
|
2016-06-08 22:28:38 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
events_patterns = [
|
2019-04-12 17:07:03 +02:00
|
|
|
path("<int:event_id>", views.event, name="event.details"),
|
|
|
|
path("<int:event_id>/status", views.event_status, name="event.details.status"),
|
2016-06-08 22:28:38 +02:00
|
|
|
]
|
2016-07-15 01:06:33 +02:00
|
|
|
|
|
|
|
calendar_patterns = [
|
2019-04-12 17:07:03 +02:00
|
|
|
path("subscription", views.calendar, name="calendar"),
|
|
|
|
path("<slug:token>/calendar.ics", views.calendar_ics, name="calendar.ics"),
|
2016-07-15 01:06:33 +02:00
|
|
|
]
|
2016-08-23 18:57:59 +02:00
|
|
|
|
|
|
|
clubs_patterns = [
|
2019-04-12 17:07:03 +02:00
|
|
|
path("membres/<slug:name>", views.membres_club, name="membres-club"),
|
|
|
|
path("liste", views.liste_clubs, name="liste-clubs"),
|
|
|
|
path(
|
|
|
|
"change_respo/<slug:club_name>/<int:user_id>",
|
2018-10-06 12:35:49 +02:00
|
|
|
views.change_respo,
|
|
|
|
name="change-respo",
|
|
|
|
),
|
2016-08-23 18:57:59 +02:00
|
|
|
]
|