from django.conf.urls import url from gestioncof import views from gestioncof.decorators import buro_required export_patterns = [ url(r"^members$", views.export_members, name="cof.membres_export"), url( r"^mega/avecremarques$", views.export_mega_remarksonly, name="cof.mega_export_remarks", ), url( r"^mega/participants$", views.export_mega_participants, name="cof.mega_export_participants", ), url(r"^mega/orgas$", views.export_mega_orgas, name="cof.mega_export_orgas"), # url(r'^mega/(?P.+)$', views.export_mega_bytype), url(r"^mega$", views.export_mega, name="cof.mega_export"), ] surveys_patterns = [ url( r"^(?P\d+)/status$", views.survey_status, name="survey.details.status", ), url(r"^(?P\d+)$", views.survey, name="survey.details"), ] events_patterns = [ url(r"^(?P\d+)$", views.event, name="event.details"), url(r"^(?P\d+)/status$", views.event_status, name="event.details.status"), ] calendar_patterns = [ url(r"^subscription$", views.calendar, name="calendar"), url( r"^(?P[a-z0-9-]+)/calendar.ics$", views.calendar_ics, name="calendar.ics" ), ] clubs_patterns = [ url(r"^membres/(?P\w+)", views.membres_club, name="membres-club"), url(r"^liste", views.liste_clubs, name="liste-clubs"), url( r"^change_respo/(?P\w+)/(?P\d+)", views.change_respo, name="change-respo", ), ]