gestioCOF/bda/urls.py

56 lines
1.9 KiB
Python
Raw Normal View History

# -*- 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
from django.conf.urls import url
from gestioncof.decorators import buro_required
from bda.views import SpectacleListView
from bda import views
urlpatterns = [
url(r'^inscription/(?P<tirage_id>\d+)$',
views.inscription,
name='bda-tirage-inscription'),
url(r'^places/(?P<tirage_id>\d+)$',
views.places,
name="bda-places-attribuees"),
url(r'^revente/(?P<tirage_id>\d+)$',
views.revente,
name='bda-revente'),
url(r'^etat-places/(?P<tirage_id>\d+)$',
views.etat_places,
name='bda-etat-places'),
url(r'^tirage/(?P<tirage_id>\d+)$', views.tirage),
url(r'^spectacles/(?P<tirage_id>\d+)$',
buro_required(SpectacleListView.as_view()),
name="bda-liste-spectacles"),
url(r'^spectacles/(?P<tirage_id>\d+)/(?P<spectacle_id>\d+)$',
views.spectacle,
name="bda-spectacle"),
url(r'^spectacles/unpaid/(?P<tirage_id>\d+)$',
views.unpaid,
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"),
url(r'^mails-rappel/(?P<spectacle_id>\d+)$',
views.send_rappel,
name="bda-rappels"
),
2016-08-31 00:03:04 +02:00
url(r'^descriptions/(?P<tirage_id>\d+)$', views.descriptions_spectacles,
name='bda-descriptions'),
2017-04-01 16:48:18 +02:00
url(r'^catalogue/(?P<request_type>[a-z]+)$', views.catalogue,
name='bda-catalogue'),
]