1591: Créer une app formulaire-recrutement qui permettra à un candidat de postuler...
[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 5
362a3534 6
5e23d90d
OL
7admin.autodiscover()
8
9handler500 # Pyflakes
10
11urlpatterns = patterns(
12 '',
fd5f1d55 13 (r'^$', 'project.views.index'),
362a3534 14 #url(r'^private_files/', include('private_files.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')),
362a3534 21 url(r'^recrutement/affecter_evaluateurs_candidats/$', 'recrutement.views.affecter_evaluateurs_candidats',
22 name='affecter_evaluateurs_candidats'),
596fe324 23 url(r'^recrutement/evaluer_candidat/$', 'recrutement.views.evaluer_candidat', name='evaluer_candidat'),
8ea41642 24 url(r'^recrutement/postuler_appel_offre/$', 'recrutement.views.postuler_appel_offre', name='postuler_appel_offre'),
ae936f8d 25 (r'^', include('project.rh.urls')),
fe13cd48 26 (r'^prive/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.PRIVE_MEDIA_ROOT}),
5e23d90d
OL
27)
28
29if settings.DEBUG:
30 urlpatterns += patterns('',
31 (r'^media/(?P<path>.*)$', 'django.views.static.serve',
32 {'document_root': settings.MEDIA_ROOT}),
33 )