# -*- coding: utf-8 -*- from __future__ import division from __future__ import print_function from __future__ import unicode_literals from django.conf.urls import url from cof.decorators import buro_required from bda.views import SpectacleListView from bda import views urlpatterns = [ url(r'^inscription/(?P\d+)$', views.inscription, name='bda-tirage-inscription'), url(r'^places/(?P\d+)$', views.places, name="bda-places-attribuees"), url(r'^revente/(?P\d+)$', views.revente, name='bda-revente'), url(r'^etat-places/(?P\d+)$', views.etat_places, name='bda-etat-places'), url(r'^tirage/(?P\d+)$', views.tirage), url(r'^spectacles/(?P\d+)$', buro_required(SpectacleListView.as_view()), name="bda-liste-spectacles"), url(r'^spectacles/(?P\d+)/(?P\d+)$', views.spectacle, name="bda-spectacle"), url(r'^spectacles/unpaid/(?P\d+)$', views.unpaid, name="bda-unpaid"), url(r'^liste-revente/(?P\d+)$', views.list_revente, name="bda-liste-revente"), url(r'^buy-revente/(?P\d+)$', views.buy_revente, name="bda-buy-revente"), url(r'^revente-interested/(?P\d+)$', views.revente_interested, name='bda-revente-interested'), url(r'^revente-immediat/(?P\d+)$', views.revente_shotgun, name="bda-shotgun"), url(r'^mails-rappel/(?P\d+)$', views.send_rappel), url(r'^descriptions/(?P\d+)$', views.descriptions_spectacles, name='bda-descriptions'), ]