Refactoring, supression de networkx
[auf_rh_dae.git] / project / rh / urls.py
1 # -*- encoding: utf-8 -*
2 from django.conf.urls.defaults import patterns, url
3
4 # Rapports
5 urlpatterns = patterns(
6 'project.rh.views',
7 url(r'^admin/rh/rapports/postes$', 'rapports_poste', name='rhr_postes'),
8 url(r'^admin/rh/rapports/employes_sans_contrats$', 'rapports_employe_sans_contrat', name='rhr_employe_sans_contrat'),
9 url(r'^admin/rh/rapports/contrats$', 'rapports_contrat', name='rhr_contrats'),
10 url(r'^admin/rh/rapports/remuneration$', 'rapports_remuneration', name='rhr_remuneration'),
11 url(r'^admin/rh/rapports/postes_par_service$', 'rapports_postes_service', name='rhr_postes_service'),
12 url(r'^admin/rh/rapports/postes_par_implantation$', 'rapports_postes_implantation', name='rhr_postes_implantation'),
13 url(r'^admin/rh/rapports/postes_modelisation$', 'rapports_postes_modelisation', name='rhr_postes_modelisation'),
14 url(r'^admin/rh/dossier/(\d+)/apercu/$', 'dossier_apercu', name='dossier_apercu'),
15 url(r'^admin/rh/employe/(\d+)/apercu/$', 'employe_apercu', name='employe_apercu'),
16 url(r'^admin/rh/poste/(\d+)/apercu/$', 'poste_apercu', name='poste_apercu'),
17 url(r'^admin/rh/organigrammes/employe/(\d+)/(\d+|all)$', 'organigrammes_employe', name='rho_employe'),
18 url(r'^admin/rh/organigrammes/employe/(\d+)/$', 'organigrammes_employe', name='rho_employe_sans_niveau'), #pour mettre le paramètre level non obligatoire, faut la deuxième url
19 url(r'^admin/rh/organigrammes/service/(\d+)$', 'organigrammes_service', name='rho_service'),
20 url(r'^admin/rh/organigrammes/implantation/(\d+)$', 'organigrammes_implantation', name='rho_implantation'),
21 url(r'^admin/rh/organigrammes/bureau/(\d+)$', 'organigrammes_region', name='rho_region'),
22 )