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-06-10 23:59:41 +02:00
|
|
|
from django.conf.urls import url, patterns
|
2016-06-08 22:28:38 +02:00
|
|
|
from bda.views import SpectacleListView
|
|
|
|
|
2016-07-09 22:31:56 +02:00
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^inscription/(?P<tirage_id>\d+)$',
|
2016-06-08 22:28:38 +02:00
|
|
|
'bda.views.inscription',
|
|
|
|
name='bda-tirage-inscription'),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^places/(?P<tirage_id>\d+)$',
|
2016-06-08 22:28:38 +02:00
|
|
|
'bda.views.places',
|
|
|
|
name="bda-places-attribuees"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^places/(?P<tirage_id>\d+)/places_bda.ics$',
|
2016-06-08 22:28:38 +02:00
|
|
|
'bda.views.places_ics',
|
|
|
|
name="bda-places-attribuees-ics"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^revente/(?P<tirage_id>\d+)$',
|
2016-06-08 22:28:38 +02:00
|
|
|
'bda.views.revente',
|
|
|
|
name='bda-revente'),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^etat-places/(?P<tirage_id>\d+)$',
|
2016-06-08 22:28:38 +02:00
|
|
|
'bda.views.etat_places',
|
|
|
|
name='bda-etat-places'),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^tirage/(?P<tirage_id>\d+)$', 'bda.views.tirage'),
|
|
|
|
url(r'^spectacles/(?P<tirage_id>\d+)$',
|
2016-07-09 21:19:37 +02:00
|
|
|
SpectacleListView.as_view(),
|
|
|
|
name="bda-liste-spectacles"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^spectacles/(?P<tirage_id>\d+)/(?P<spectacle_id>\d+)$',
|
2016-06-08 22:28:38 +02:00
|
|
|
"bda.views.spectacle",
|
|
|
|
name="bda-spectacle"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^spectacles-ics/(?P<tirage_id>\d+)$',
|
2016-06-08 22:28:38 +02:00
|
|
|
'bda.views.liste_spectacles_ics',
|
2016-07-09 21:19:37 +02:00
|
|
|
name="bda-liste-spectacles-ics"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^spectacles/unpaid/(?P<tirage_id>\d+)$',
|
2016-06-08 22:28:38 +02:00
|
|
|
"bda.views.unpaid",
|
|
|
|
name="bda-unpaid"),
|
2016-07-14 19:31:07 +02:00
|
|
|
url(r'^mails-rappel/(?P<spectacle_id>\d+)$', "bda.views.send_rappel"),
|
2016-06-08 22:28:38 +02:00
|
|
|
)
|