PJ url
authorOlivier Larchevêque <olivier.larcheveque@auf.org>
Tue, 14 Feb 2012 14:59:53 +0000 (09:59 -0500)
committerOlivier Larchevêque <olivier.larcheveque@auf.org>
Tue, 14 Feb 2012 14:59:53 +0000 (09:59 -0500)
project/urls.py

index 5cfa7ce..ef42a31 100644 (file)
@@ -15,7 +15,9 @@ urlpatterns = patterns(
     (r'^$', 'project.views.index'),
     url(r'^admin_tools/', include('admin_tools.urls')),
     (r'^admin/', include(admin.site.urls)),
+    url(r'^api/(?P<method>[a-z_-]+)/(?P<offre_id>\d+)/$', 'recrutement.api.api', name='recrutement_api'),
     url(r'^api/(?P<method>[a-z_-]+)/$', 'recrutement.api.api', name='recrutement_api'),
+    url(r'^recrutement/', include('recrutement.urls')),
     (r'^connexion/$', 'django.contrib.auth.views.login'),
     (r'^deconnexion/$', 'django.contrib.auth.views.logout'),
     (r'^dae/', include('project.dae.urls')),