2015-06-12 20:17:24 +02:00
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
|
|
|
|
from monstage import views
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
url(r'^$', views.index, name='index'),
|
2015-06-20 00:02:36 +02:00
|
|
|
url(r'^home/$', views.home, name='home'),
|
2015-06-12 20:17:24 +02:00
|
|
|
url(r'^profil/show/(?P<profil_id>\w+)/$', views.profil, name='profil'),
|
|
|
|
url(r'^profil/edit/$', views.profil_edit, name='profil_edit'),
|
2015-06-14 19:13:27 +02:00
|
|
|
url(r'^api/lieux/candidats/$', views.lieux_candidats, name='lieux_candidats'),
|
2015-06-12 20:17:24 +02:00
|
|
|
url(r'^stage/(?P<stage_id>\d+)/$', views.stage, name='stage'),
|
|
|
|
url(r'^stage/new/$', views.stage_add, name='stage_add'),
|
2015-06-13 23:02:16 +02:00
|
|
|
url(r'^stage/(?P<stage_id>\d+)/edit/description/$', views.stage_edit_desc, name='stage_edit_desc'),
|
2015-06-12 20:17:24 +02:00
|
|
|
url(r'^stage/(?P<stage_id>\d+)/edit/lieu/$', views.stage_edit_lieu, name='stage_edit_lieu'),
|
2015-06-13 22:11:05 +02:00
|
|
|
url(r'^stage/(?P<stage_id>\d+)/edit/avis/$', views.stage_edit_feedback, name='stage_edit_feedback'),
|
2015-06-22 19:49:12 +02:00
|
|
|
url(r'^stage/(?P<stage_id>\d+)/edit/publish/$', views.stage_publish, name='stage_publish'),
|
2015-06-20 00:02:36 +02:00
|
|
|
url(r'^recherche/$', views.search, name='search'),
|
2015-09-22 19:31:26 +02:00
|
|
|
url(r'^feedback/send/$', views.send_feedback, name='send_feedback'),
|
2015-06-12 20:17:24 +02:00
|
|
|
)
|