Ne pas utiliser Content-Disposition: attachment pour les fichiers téléchargeables...
[auf_rh_dae.git] / project / dae / urls.py
... / ...
CommitLineData
1# -*- encoding: utf-8 -*
2from django.conf.urls.defaults import patterns, url, include
3
4urlpatterns = patterns(
5 'project.dae.views',
6 url(r'^$', 'index', name='dae_index'),
7
8 # poste
9 url(r'^postes$', 'postes_liste', name='dae_postes_liste'),
10 url(r'^poste/consulter/(?P<key>.*)$', 'poste_consulter', name='poste_consulter'),
11 url(r'^poste$', 'poste', name='poste'),
12 url(r'^poste/(?P<key>.*)$', 'poste', name='poste'),
13 url(r'^pieces-postes/(\d+)/(.*)$', 'poste_piece', name='poste_piece'),
14
15 # embauche
16 url(r'^embauches$', 'embauches_liste', name='dae_embauches_liste'),
17 url(r'^embauche$', 'embauche_choisir_poste', name='embauche'),
18 url(r'^embauche/consulter/(?P<dossier_id>.*)$', 'embauche_consulter', name='embauche_consulter'),
19 url(r'^embauche/(?P<key>.*)/(?P<dossier_id>.*)$', 'embauche', name='embauche'),
20 url(r'^embauche/(?P<key>.*)$', 'embauche', name='embauche'),
21
22 # contrats
23 url(r'^embauches/(?P<dossier_id>\d+)/contrats/ajouter$', 'embauche_ajouter_contrat',
24 name='embauche_ajouter_contrat'),
25 url(r'^contrats/(\d+)/(.*)$', 'contrat', name='contrat'),
26 url(r'^contrats/(\d+)/supprimer$', 'contrat_supprimer', name='contrat_supprimer'),
27
28 # ajax
29 url(r'^employe$', 'employe', name='employe'),
30 url(r'^employe/(?P<key>.*)$', 'employe', name='employe'),
31 url(r'^dossier$', 'dossier', name='dossier'),
32 url(r'^dossier/(?P<poste_key>.*)/(?P<employe_key>.*)$', 'dossier', name='dossier'),
33 url(r'^pieces-dossiers/(\d+)/(.*)$', 'dossier_piece', name='dossier_piece'),
34 url(r'^dossier_resume/(?P<dossier_id>.*)$', 'dossier_resume', name='dossier_resume'),
35 url(r'^poste_resume/(?P<dossier_id>.*)$', 'poste_resume', name='poste_resume'),
36 url(r'^salaire$', 'salaire', name='salaire'),
37 url(r'^salaire/(.*)/(.*)/(.*)$', 'salaire', name='salaire'),
38 url(r'^coefficient$', 'coefficient', name='dae_coefficient'),
39 url(r'^liste_valeurs_point$', 'liste_valeurs_point', name='liste_valeurs_point'),
40 url(r'^liste_postes$', 'liste_postes', name='liste_postes'),
41 url(r'^devise$', 'devise', name='dae_devise'),
42 url(r'^devises$', 'devises', name='devises'),
43 url(r'^devise/code$', 'devise_code', name='dae_devise_code'),
44 url(r'^add-remun$', 'add_remun', name='add_remun'),
45 url(r'^add-remun/(?P<dossier>.*)/(?P<type_remun>.*)$', 'add_remun',
46 name='add_remun'),
47 (r'^ajax_select/', include('ajax_select.urls')),
48)