Corrections aux urls
authorNilovna Bascunan-Vasquez <contact@nilovna.com>
Fri, 29 Jul 2011 20:37:22 +0000 (16:37 -0400)
committerNilovna Bascunan-Vasquez <contact@nilovna.com>
Fri, 29 Jul 2011 20:37:22 +0000 (16:37 -0400)
project/recrutement/urls.py
project/urls.py

index 9712754..f7d59bf 100644 (file)
@@ -22,9 +22,6 @@ urlpatterns = patterns('',
     url(r'^pieces/$', 'recrutement.views.postuler_appel_offre', 
         name='pieces'),
 
-    url(r'^api/(?P<method>[a-z_-]+)/$', 
-        'recrutement.api.api', name='recrutement_api'),
-
     url(r'^postuler_appel_offre/$', 
         'recrutement.views.postuler_appel_offre', name='postuler_appel_offre'),   
 )
index 97bfab4..bdff2f5 100644 (file)
@@ -14,6 +14,8 @@ urlpatterns = patterns(
     url(r'^captcha/', include('captcha.urls')),
     url(r'^admin_tools/', include('admin_tools.urls')),
     (r'^admin/', include(admin.site.urls)),
+    url(r'^api/(?P<method>[a-z_-]+)/$', 'recrutement.api.api', 
+            name='recrutement_api'),
     (r'^connexion/$', 'django.contrib.auth.views.login'),
     (r'^deconnexion/$', 'django.contrib.auth.views.logout'),
     (r'^dae/', include('project.dae.urls')),