Rapport: Premier jet
[auf_rh_dae.git] / project / rh / urls.py
CommitLineData
ae936f8d 1# -*- encoding: utf-8 -*
2from django.conf.urls.defaults import patterns, url
3
4urlpatterns = patterns(
5 'project.rh.views',
a9faef67 6 url(r'^employes/$', 'employes_liste', name='rh_employes'),
c9122f1d 7 url(r'^profil$', 'profil', name='rh_profil'),
3411ac33 8 url(r'^employes/(?P<id>\d+)$', 'employe', name='rh_employe'),
ae936f8d 9)
5ea6b5bb 10# api
11urlpatterns += patterns(
12 'project.rh.api',
13 url(r'^employes/(?P<id>\d+)/photo$', 'photo', name='rh_photo'),
14)
63e17dff
PP
15# Rapports
16urlpatterns += patterns(
17 'project.rh.views',
18 url(r'^admin/rh/rapports/postes$', 'rapports_poste', name='rhr_postes'),
19)