19 lines
No EOL
1 KiB
Python
19 lines
No EOL
1 KiB
Python
from django.conf.urls import patterns, url
|
|
|
|
from monstage import views
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', views.index, name='index'),
|
|
url(r'^home/$', views.home, name='home'),
|
|
url(r'^profil/show/(?P<profil_id>\w+)/$', views.profil, name='profil'),
|
|
url(r'^profil/edit/$', views.profil_edit, name='profil_edit'),
|
|
url(r'^api/lieux/candidats/$', views.lieux_candidats, name='lieux_candidats'),
|
|
url(r'^stage/(?P<stage_id>\d+)/$', views.stage, name='stage'),
|
|
url(r'^stage/new/$', views.stage_add, name='stage_add'),
|
|
url(r'^stage/(?P<stage_id>\d+)/edit/description/$', views.stage_edit_desc, name='stage_edit_desc'),
|
|
url(r'^stage/(?P<stage_id>\d+)/edit/lieu/$', views.stage_edit_lieu, name='stage_edit_lieu'),
|
|
url(r'^stage/(?P<stage_id>\d+)/edit/avis/$', views.stage_edit_feedback, name='stage_edit_feedback'),
|
|
url(r'^stage/(?P<stage_id>\d+)/edit/publish/$', views.stage_publish, name='stage_publish'),
|
|
url(r'^recherche/$', views.search, name='search'),
|
|
url(r'^feedback/send/$', views.send_feedback, name='send_feedback'),
|
|
) |