17 lines
781 B
Python
17 lines
781 B
Python
from django.conf.urls import include, url
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.index, name='index'),
|
|
url(r'^perso/$', views.perso, name='perso'),
|
|
url(r'^stage/nouveau/$', views.StageAjout.as_view(), name='stage_ajout'),
|
|
url(r'^stage/(?P<pk>\w+)/$', views.StageView.as_view(), name='stage'),
|
|
url(r'^stage/(?P<pk>\w+)/edit/$', views.StageEdit.as_view(), name='stage_edit'),
|
|
|
|
url(r'^lieu/ajout/$', views.LieuAjout.as_view(), name='lieu_ajout'),
|
|
url(r'^profil/show/(?P<username>\w+)/$', views.ProfilView.as_view(),
|
|
name='profil'),
|
|
url(r'^profil/edit/$', views.ProfilEdit.as_view(), name='profil_edit'),
|
|
url(r'^recherche/$', views.recherche, name='recherche'),
|
|
url(r'^feedback/$', views.feedback, name='feedback'),
|
|
]
|