complété la sauvegarde de l'employé et du dossier
[auf_rh_dae.git] / project / dae / urls.py
1 # -*- encoding: utf-8 -*
2 from django.conf.urls.defaults import patterns, url
3
4 urlpatterns = patterns(
5 'project.dae.views',
6 url(r'^$', 'index', name='dae_index'),
7 url(r'^postes$', 'postes_liste', name='dae_postes_liste'),
8 url(r'^poste/(?P<key>.*)/financement$', 'financement', name='financement'),
9 url(r'^poste/(?P<key>.*)/financement/(?P<id>\d*)$', 'financement',
10 name='financement'),
11 url(r'^poste$', 'poste', name='poste'),
12 url(r'^poste/(?P<key>.*)$', 'poste', name='poste'),
13 url(r'^embauche$', 'embauche', name='embauche'),
14 url(r'^embauche/(?P<key>.*)/(?P<dossier>.*)$', 'embauche',
15 name='embauche'),
16 url(r'^embauche/(?P<key>.*)$', 'embauche', name='embauche'),
17 url(r'^employe$', 'employe', name='employe'),
18 url(r'^employe/(?P<key>.*)$', 'employe', name='employe'),
19 url(r'^dossier$', 'dossier', name='dossier'),
20 url(r'^dossier/(?P<poste_key>.*)/(?P<employe_key>.*)$', 'dossier',
21 name='dossier'),
22 url(r'^salaire$', 'salaire', name='salaire'),
23 url(r'^salaire/(.*)/(.*)/(.*)$', 'salaire', name='salaire'),
24 )