2016-07-15 00:02:56 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from __future__ import division
|
|
|
|
from __future__ import print_function
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2016-06-08 22:28:38 +02:00
|
|
|
from django.conf.urls import url
|
|
|
|
from gestioncof.petits_cours_views import DemandeListView
|
2016-07-18 18:46:48 +02:00
|
|
|
from gestioncof import views, petits_cours_views
|
2016-06-08 22:28:38 +02:00
|
|
|
|
|
|
|
export_patterns = [
|
2016-07-18 18:46:48 +02:00
|
|
|
url(r'^members$', views.export_members),
|
|
|
|
url(r'^mega/avecremarques$', views.export_mega_remarksonly),
|
|
|
|
url(r'^mega/participants$', views.export_mega_participants),
|
|
|
|
url(r'^mega/orgas$', views.export_mega_orgas),
|
|
|
|
url(r'^mega/(?P<type>.+)$', views.export_mega_bytype),
|
|
|
|
url(r'^mega$', views.export_mega),
|
2016-06-08 22:28:38 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
petitcours_patterns = [
|
2016-07-18 18:46:48 +02:00
|
|
|
url(r'^inscription$', petits_cours_views.inscription,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='petits-cours-inscription'),
|
2016-07-18 18:46:48 +02:00
|
|
|
url(r'^demande$', petits_cours_views.demande,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='petits-cours-demande'),
|
2016-07-18 18:46:48 +02:00
|
|
|
url(r'^demande-raw$', petits_cours_views.demande_raw,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='petits-cours-demande-raw'),
|
2016-06-22 22:49:00 +02:00
|
|
|
url(r'^demandes$', DemandeListView.as_view(),
|
2016-06-08 22:28:38 +02:00
|
|
|
name='petits-cours-demandes-list'),
|
2016-07-09 22:31:56 +02:00
|
|
|
url(r'^demandes/(?P<demande_id>\d+)$',
|
2016-07-18 18:46:48 +02:00
|
|
|
petits_cours_views.details,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='petits-cours-demande-details'),
|
2016-06-22 22:49:00 +02:00
|
|
|
url(r'^demandes/(?P<demande_id>\d+)/traitement$',
|
2016-07-18 18:46:48 +02:00
|
|
|
petits_cours_views.traitement,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='petits-cours-demande-traitement'),
|
2016-06-22 22:49:00 +02:00
|
|
|
url(r'^demandes/(?P<demande_id>\d+)/retraitement$',
|
2016-07-18 18:46:48 +02:00
|
|
|
petits_cours_views.retraitement,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='petits-cours-demande-retraitement'),
|
|
|
|
]
|
|
|
|
|
|
|
|
surveys_patterns = [
|
2016-07-18 18:46:48 +02:00
|
|
|
url(r'^(?P<survey_id>\d+)/status$', views.survey_status),
|
|
|
|
url(r'^(?P<survey_id>\d+)$', views.survey),
|
2016-06-08 22:28:38 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
events_patterns = [
|
2016-07-18 18:46:48 +02:00
|
|
|
url(r'^(?P<event_id>\d+)$', views.event),
|
|
|
|
url(r'^(?P<event_id>\d+)/status$', views.event_status),
|
2016-06-08 22:28:38 +02:00
|
|
|
]
|