page perso : kickoff
[auf_rh_dae.git] / project / urls.py
CommitLineData
5e23d90d
OL
1# -*- encoding: utf-8 -*
2from django.conf.urls.defaults import patterns, include, handler500, url
3from django.conf import settings
4from django.contrib import admin
5e23d90d
OL
5
6admin.autodiscover()
7
8handler500 # Pyflakes
9
10urlpatterns = patterns(
11 '',
fd5f1d55 12 (r'^$', 'project.views.index'),
362a3534 13 #url(r'^private_files/', include('private_files.urls')),
86caaf03 14 url(r'^captcha/', include('captcha.urls')),
5e23d90d
OL
15 url(r'^admin_tools/', include('admin_tools.urls')),
16 (r'^admin/', include(admin.site.urls)),
17 (r'^connexion/$', 'django.contrib.auth.views.login'),
18 (r'^deconnexion/$', 'django.contrib.auth.views.logout'),
498881f4 19 (r'^dae/', include('project.dae.urls')),
6f2d5d58 20 (r'^recrutement/', include('project.recrutement.urls')),
2b3edf33 21 url(r'^recrutement/affecter_evaluateurs_candidats/$',
22 'recrutement.views.affecter_evaluateurs_candidats',
362a3534 23 name='affecter_evaluateurs_candidats'),
c4874d66
NBV
24 url(r'^recrutement/affecter_evaluateurs_offre_emploi/$',
25 'recrutement.views.affecter_evaluateurs_offre_emploi',
26 name='affecter_evaluateurs_offre_emploi'),
d84c3a68 27 url(r'^recrutement/envoyer_courriel_candidats/$',
28 'recrutement.views.envoyer_courriel_candidats',
29 name='envoyer_courriel_candidats'),
32834000
NBV
30 url(r'^recrutement/selectionner_template/$',
31 'recrutement.views.selectionner_template',
32 name='selectionner_template'),
c4874d66
NBV
33 url(r'^recrutement/pieces/$', 'recrutement.views.postuler_appel_offre',
34 name='pieces'),
2b3edf33 35 url(r'^recrutement/postuler_appel_offre/$',
ec517164 36 'recrutement.views.postuler_appel_offre', name='postuler_appel_offre'),
37 (r'^tinymce/', include('tinymce.urls')),
ae936f8d 38 (r'^', include('project.rh.urls')),
2b3edf33 39 (r'^prive/(?P<path>.*)$', 'django.views.static.serve',
40 {'document_root': settings.PRIVE_MEDIA_ROOT}),
5e23d90d
OL
41)
42
43if settings.DEBUG:
44 urlpatterns += patterns('',
45 (r'^media/(?P<path>.*)$', 'django.views.static.serve',
46 {'document_root': settings.MEDIA_ROOT}),
47 )