2016-06-08 22:28:38 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2016-07-15 00:02:56 +02:00
|
|
|
from __future__ import division
|
|
|
|
from __future__ import print_function
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2016-07-18 18:46:48 +02:00
|
|
|
from django.conf.urls import url
|
2017-02-09 21:04:32 +01:00
|
|
|
from cof.decorators import buro_required
|
2016-06-08 22:28:38 +02:00
|
|
|
from bda.views import SpectacleListView
|
2016-07-18 18:46:48 +02:00
|
|
|
from bda import views
|
2016-06-08 22:28:38 +02:00
|
|
|
|
2016-07-18 18:46:48 +02:00
|
|
|
urlpatterns = [
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^inscription/(?P<tirage_id>\d+)$',
|
2016-07-18 18:46:48 +02:00
|
|
|
views.inscription,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='bda-tirage-inscription'),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^places/(?P<tirage_id>\d+)$',
|
2016-07-18 18:46:48 +02:00
|
|
|
views.places,
|
2016-06-08 22:28:38 +02:00
|
|
|
name="bda-places-attribuees"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^revente/(?P<tirage_id>\d+)$',
|
2016-07-18 18:46:48 +02:00
|
|
|
views.revente,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='bda-revente'),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^etat-places/(?P<tirage_id>\d+)$',
|
2016-07-18 18:46:48 +02:00
|
|
|
views.etat_places,
|
2016-06-08 22:28:38 +02:00
|
|
|
name='bda-etat-places'),
|
2016-07-18 18:46:48 +02:00
|
|
|
url(r'^tirage/(?P<tirage_id>\d+)$', views.tirage),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^spectacles/(?P<tirage_id>\d+)$',
|
2016-08-27 15:08:36 +02:00
|
|
|
buro_required(SpectacleListView.as_view()),
|
2016-07-09 21:19:37 +02:00
|
|
|
name="bda-liste-spectacles"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^spectacles/(?P<tirage_id>\d+)/(?P<spectacle_id>\d+)$',
|
2016-07-18 18:46:48 +02:00
|
|
|
views.spectacle,
|
2016-06-08 22:28:38 +02:00
|
|
|
name="bda-spectacle"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^spectacles/unpaid/(?P<tirage_id>\d+)$',
|
2016-07-18 18:46:48 +02:00
|
|
|
views.unpaid,
|
2016-06-08 22:28:38 +02:00
|
|
|
name="bda-unpaid"),
|
2016-07-25 02:51:45 +02:00
|
|
|
url(r'^liste-revente/(?P<tirage_id>\d+)$',
|
2016-10-13 16:01:30 +02:00
|
|
|
views.list_revente,
|
2016-07-25 02:51:45 +02:00
|
|
|
name="bda-liste-revente"),
|
|
|
|
url(r'^buy-revente/(?P<spectacle_id>\d+)$',
|
2016-10-13 16:01:30 +02:00
|
|
|
views.buy_revente,
|
2016-07-25 02:51:45 +02:00
|
|
|
name="bda-buy-revente"),
|
2016-09-04 11:14:09 +02:00
|
|
|
url(r'^revente-interested/(?P<revente_id>\d+)$',
|
2016-10-13 16:01:30 +02:00
|
|
|
views.revente_interested,
|
2016-09-04 11:14:09 +02:00
|
|
|
name='bda-revente-interested'),
|
2016-10-06 13:46:18 +02:00
|
|
|
url(r'^revente-immediat/(?P<tirage_id>\d+)$',
|
2016-10-13 16:01:30 +02:00
|
|
|
views.revente_shotgun,
|
2016-10-06 13:46:18 +02:00
|
|
|
name="bda-shotgun"),
|
2016-07-18 18:46:48 +02:00
|
|
|
url(r'^mails-rappel/(?P<spectacle_id>\d+)$', views.send_rappel),
|
2016-08-31 00:03:04 +02:00
|
|
|
url(r'^descriptions/(?P<tirage_id>\d+)$', views.descriptions_spectacles,
|
|
|
|
name='bda-descriptions'),
|
2016-07-18 18:46:48 +02:00
|
|
|
]
|