Corrige les urls du BdA
Le `^` de début de regex a été oublié -> Les urls avaient un étrange, par exemple `bda/etat-places` et `bda/places` pointaient vers la même vue
This commit is contained in:
parent
66214f7ff2
commit
a24ca5a19b
1 changed files with 11 additions and 11 deletions
22
bda/urls.py
22
bda/urls.py
|
@ -5,33 +5,33 @@ from bda.views import SpectacleListView
|
||||||
|
|
||||||
urlpatterns = patterns(
|
urlpatterns = patterns(
|
||||||
'',
|
'',
|
||||||
url(r'inscription/(?P<tirage_id>\d+)$',
|
url(r'^inscription/(?P<tirage_id>\d+)$',
|
||||||
'bda.views.inscription',
|
'bda.views.inscription',
|
||||||
name='bda-tirage-inscription'),
|
name='bda-tirage-inscription'),
|
||||||
url(r'places/(?P<tirage_id>\d+)$',
|
url(r'^places/(?P<tirage_id>\d+)$',
|
||||||
'bda.views.places',
|
'bda.views.places',
|
||||||
name="bda-places-attribuees"),
|
name="bda-places-attribuees"),
|
||||||
url(r'places/(?P<tirage_id>\d+)/places_bda.ics$',
|
url(r'^places/(?P<tirage_id>\d+)/places_bda.ics$',
|
||||||
'bda.views.places_ics',
|
'bda.views.places_ics',
|
||||||
name="bda-places-attribuees-ics"),
|
name="bda-places-attribuees-ics"),
|
||||||
url(r'revente/(?P<tirage_id>\d+)$',
|
url(r'^revente/(?P<tirage_id>\d+)$',
|
||||||
'bda.views.revente',
|
'bda.views.revente',
|
||||||
name='bda-revente'),
|
name='bda-revente'),
|
||||||
url(r'etat-places/(?P<tirage_id>\d+)$',
|
url(r'^etat-places/(?P<tirage_id>\d+)$',
|
||||||
'bda.views.etat_places',
|
'bda.views.etat_places',
|
||||||
name='bda-etat-places'),
|
name='bda-etat-places'),
|
||||||
url(r'tirage/(?P<tirage_id>\d+)$', 'bda.views.tirage'),
|
url(r'^tirage/(?P<tirage_id>\d+)$', 'bda.views.tirage'),
|
||||||
url(r'spectacles/(?P<tirage_id>\d+)$',
|
url(r'^spectacles/(?P<tirage_id>\d+)$',
|
||||||
SpectacleListView.as_view(),
|
SpectacleListView.as_view(),
|
||||||
name="bda-liste-spectacles"),
|
name="bda-liste-spectacles"),
|
||||||
url(r'spectacles/(?P<tirage_id>\d+)/(?P<spectacle_id>\d+)$',
|
url(r'^spectacles/(?P<tirage_id>\d+)/(?P<spectacle_id>\d+)$',
|
||||||
"bda.views.spectacle",
|
"bda.views.spectacle",
|
||||||
name="bda-spectacle"),
|
name="bda-spectacle"),
|
||||||
url(r'spectacles-ics/(?P<tirage_id>\d+)$',
|
url(r'^spectacles-ics/(?P<tirage_id>\d+)$',
|
||||||
'bda.views.liste_spectacles_ics',
|
'bda.views.liste_spectacles_ics',
|
||||||
name="bda-liste-spectacles-ics"),
|
name="bda-liste-spectacles-ics"),
|
||||||
url(r'spectacles/unpaid/(?P<tirage_id>\d+)$',
|
url(r'^spectacles/unpaid/(?P<tirage_id>\d+)$',
|
||||||
"bda.views.unpaid",
|
"bda.views.unpaid",
|
||||||
name="bda-unpaid"),
|
name="bda-unpaid"),
|
||||||
url(r'mails-rappel/(?P<spectacle_id>\d+)$', "bda.views.send_rappel"),
|
url(r'^mails-rappel/(?P<spectacle_id>\d+)$', "bda.views.send_rappel"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue