1546: Associer des évaluateurs à des candidatures.
[auf_rh_dae.git] / project / urls.py
1 # -*- encoding: utf-8 -*
2 from django.conf.urls.defaults import patterns, include, handler500, url
3 from django.conf import settings
4 from django.contrib import admin
5
6
7 admin.autodiscover()
8
9 handler500 # Pyflakes
10
11 urlpatterns = patterns(
12 '',
13 (r'^$', 'project.views.index'),
14 #url(r'^private_files/', include('private_files.urls')),
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'),
19 (r'^dae/', include('project.dae.urls')),
20 (r'^recrutement/', include('project.recrutement.urls')),
21 url(r'^recrutement/affecter_evaluateurs_candidats/$', 'recrutement.views.affecter_evaluateurs_candidats',
22 name='affecter_evaluateurs_candidats'),
23 (r'^', include('project.rh.urls')),
24 (r'^prive/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.PRIVE_MEDIA_ROOT}),
25 )
26
27 if settings.DEBUG:
28 urlpatterns += patterns('',
29 (r'^media/(?P<path>.*)$', 'django.views.static.serve',
30 {'document_root': settings.MEDIA_ROOT}),
31 )