experiENS/avisstage/urls.py

18 lines
772 B
Python
Raw Normal View History

2017-04-05 00:23:35 +02:00
from django.conf.urls import include, url
from . import views
urlpatterns = [
url(r'^$', views.index, name='index'),
url(r'^perso/$', views.perso, name='perso'),
2017-04-13 22:50:00 +02:00
url(r'^stage/nouveau/$', views.manage_stage, name='stage_ajout'),
2017-04-07 03:01:27 +02:00
url(r'^stage/(?P<pk>\w+)/$', views.StageView.as_view(), name='stage'),
2017-04-13 22:50:00 +02:00
url(r'^stage/(?P<id_stage>\w+)/edit/$', views.manage_stage, name='stage_edit'),
2017-04-07 03:01:27 +02:00
url(r'^lieu/ajout/$', views.LieuAjout.as_view(), name='lieu_ajout'),
2017-04-07 03:01:27 +02:00
url(r'^profil/show/(?P<username>\w+)/$', views.ProfilView.as_view(),
name='profil'),
url(r'^profil/edit/$', views.ProfilEdit.as_view(), name='profil_edit'),
2017-04-05 00:23:35 +02:00
url(r'^recherche/$', views.recherche, name='recherche'),
url(r'^feedback/$', views.feedback, name='feedback'),
]