Supprimé le répertoire django_qbe.egg-info
[auf_rh_dae.git] / project / urls.py
1 # -*- encoding: utf-8 -*
2
3 from django.contrib import admin
4 from urldecorators.defaults import patterns, include, handler500, url
5 from auf.django import permissions
6 import project.monkey
7
8 admin.autodiscover()
9 permissions.autodiscover()
10
11 handler500 # Pyflakes
12
13 urlpatterns = patterns(
14 '',
15 url(r'^$', 'project.views.index', name='index'),
16 url(r'^admin_tools/', include('admin_tools.urls')),
17 (r'^admin/', include(admin.site.urls)),
18 url(r'^api/(?P<method>[a-z_-]+)/(?P<offre_id>\d+)/$', 'recrutement.api.api',
19 name='recrutement_api'),
20 url(r'^api/(?P<method>[a-z_-]+)/$', 'recrutement.api.api',
21 name='recrutement_api'),
22 (r'^connexion/$', 'django.contrib.auth.views.login'),
23 (r'^deconnexion/$', 'django.contrib.auth.views.logout'),
24 #url(r'^private_files/', include('private_files.urls')),
25 url(r'^captcha/', include('captcha.urls')),
26 (r'^ajax_select/', include('ajax_select.urls')),
27 (r'^tinymce/', include('tinymce.urls')),
28 url(r'^prive/(?P<filename>.*)$', 'project.views.piece'),
29 #(r'^prive/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.PRIVE_MEDIA_ROOT}),
30
31 # apps
32 url(r'^dae/', include('project.dae.urls'), decorators=['django.contrib.auth.decorators.login_required']),
33 url(r'^recrutement/', include('recrutement.urls'), decorators=['django.contrib.auth.decorators.login_required']),
34 url(r'^rh/', include('project.rh.urls'), decorators=['django.contrib.auth.decorators.login_required']),
35
36 url(r'^qbe/', include('django_qbe.urls')),
37 )