forked from DGNum/gestioCOF
Corrige des urls
- Les urls vers les évéments et sondage avaient un `survey`/`event` de trop : `/survey/survey/1`. - On ajoute un `^` dans lers urls de `gestioncof.urls` pour demander des urls exactes : `export/mega` et non `export/trucmega`
This commit is contained in:
parent
69b6cd649f
commit
7e90bcce42
1 changed files with 17 additions and 17 deletions
|
@ -2,41 +2,41 @@ from django.conf.urls import url
|
||||||
from gestioncof.petits_cours_views import DemandeListView
|
from gestioncof.petits_cours_views import DemandeListView
|
||||||
|
|
||||||
export_patterns = [
|
export_patterns = [
|
||||||
url(r'members$', 'gestioncof.views.export_members'),
|
url(r'^members$', 'gestioncof.views.export_members'),
|
||||||
url(r'mega/avecremarques$', 'gestioncof.views.export_mega_remarksonly'),
|
url(r'^mega/avecremarques$', 'gestioncof.views.export_mega_remarksonly'),
|
||||||
url(r'mega/participants$', 'gestioncof.views.export_mega_participants'),
|
url(r'^mega/participants$', 'gestioncof.views.export_mega_participants'),
|
||||||
url(r'mega/orgas$', 'gestioncof.views.export_mega_orgas'),
|
url(r'^mega/orgas$', 'gestioncof.views.export_mega_orgas'),
|
||||||
url(r'mega/(?P<type>.+)$', 'gestioncof.views.export_mega_bytype'),
|
url(r'^mega/(?P<type>.+)$', 'gestioncof.views.export_mega_bytype'),
|
||||||
url(r'mega$', 'gestioncof.views.export_mega'),
|
url(r'^mega$', 'gestioncof.views.export_mega'),
|
||||||
]
|
]
|
||||||
|
|
||||||
petitcours_patterns = [
|
petitcours_patterns = [
|
||||||
url(r'inscription$', 'gestioncof.petits_cours_views.inscription',
|
url(r'^inscription$', 'gestioncof.petits_cours_views.inscription',
|
||||||
name='petits-cours-inscription'),
|
name='petits-cours-inscription'),
|
||||||
url(r'demande$', 'gestioncof.petits_cours_views.demande',
|
url(r'^demande$', 'gestioncof.petits_cours_views.demande',
|
||||||
name='petits-cours-demande'),
|
name='petits-cours-demande'),
|
||||||
url(r'demande-raw$', 'gestioncof.petits_cours_views.demande_raw',
|
url(r'^demande-raw$', 'gestioncof.petits_cours_views.demande_raw',
|
||||||
name='petits-cours-demande-raw'),
|
name='petits-cours-demande-raw'),
|
||||||
url(r'demandes$', DemandeListView.as_view(),
|
url(r'^demandes$', DemandeListView.as_view(),
|
||||||
name='petits-cours-demandes-list'),
|
name='petits-cours-demandes-list'),
|
||||||
url(r'demandes/(?P<demande_id>\d+)$', 'gestioncof.petits_cours_views.details',
|
url(r'^demandes/(?P<demande_id>\d+)$', 'gestioncof.petits_cours_views.details',
|
||||||
name='petits-cours-demande-details'),
|
name='petits-cours-demande-details'),
|
||||||
url(r'demandes/(?P<demande_id>\d+)/traitement$',
|
url(r'^demandes/(?P<demande_id>\d+)/traitement$',
|
||||||
'gestioncof.petits_cours_views.traitement',
|
'gestioncof.petits_cours_views.traitement',
|
||||||
name='petits-cours-demande-traitement'),
|
name='petits-cours-demande-traitement'),
|
||||||
url(r'demandes/(?P<demande_id>\d+)/retraitement$',
|
url(r'^demandes/(?P<demande_id>\d+)/retraitement$',
|
||||||
'gestioncof.petits_cours_views.retraitement',
|
'gestioncof.petits_cours_views.retraitement',
|
||||||
name='petits-cours-demande-retraitement'),
|
name='petits-cours-demande-retraitement'),
|
||||||
]
|
]
|
||||||
|
|
||||||
surveys_patterns = [
|
surveys_patterns = [
|
||||||
url(r'^survey/(?P<survey_id>\d+)/status$', 'gestioncof.views.survey_status'),
|
url(r'^(?P<survey_id>\d+)/status$', 'gestioncof.views.survey_status'),
|
||||||
url(r'^survey/(?P<survey_id>\d+)$', 'gestioncof.views.survey'),
|
url(r'^(?P<survey_id>\d+)$', 'gestioncof.views.survey'),
|
||||||
]
|
]
|
||||||
|
|
||||||
events_patterns = [
|
events_patterns = [
|
||||||
url(r'^event/(?P<event_id>\d+)$', 'gestioncof.views.event'),
|
url(r'^(?P<event_id>\d+)$', 'gestioncof.views.event'),
|
||||||
url(r'^event/(?P<event_id>\d+)/status$', 'gestioncof.views.event_status'),
|
url(r'^(?P<event_id>\d+)/status$', 'gestioncof.views.event_status'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue