[#2245] Liste des DAE finalisées
[auf_rh_dae.git] / project / urls.py
index b805830..79c1c6a 100644 (file)
@@ -2,7 +2,6 @@
 from django.conf.urls.defaults import patterns, include, handler500, url
 from django.conf import settings
 from django.contrib import admin
 from django.conf.urls.defaults import patterns, include, handler500, url
 from django.conf import settings
 from django.contrib import admin
-#from auf.django.skin.urls import auf_media_patterns
 
 admin.autodiscover()
 
 
 admin.autodiscover()
 
@@ -10,12 +9,13 @@ handler500 # Pyflakes
 
 urlpatterns = patterns(
     '',
 
 urlpatterns = patterns(
     '',
+    (r'^$', 'project.views.index'),
     url(r'^admin_tools/', include('admin_tools.urls')),
     (r'^admin/', include(admin.site.urls)),
     url(r'^admin_tools/', include('admin_tools.urls')),
     (r'^admin/', include(admin.site.urls)),
-    (r'^dae/', include('project.dae.urls')),
     (r'^connexion/$', 'django.contrib.auth.views.login'),
     (r'^deconnexion/$', 'django.contrib.auth.views.logout'),
     (r'^connexion/$', 'django.contrib.auth.views.login'),
     (r'^deconnexion/$', 'django.contrib.auth.views.logout'),
-
+    (r'^dae/', include('project.dae.urls')),
+    (r'^', include('project.rh.urls')),
 )
 
 if settings.DEBUG:
 )
 
 if settings.DEBUG:
@@ -23,4 +23,3 @@ if settings.DEBUG:
         (r'^media/(?P<path>.*)$', 'django.views.static.serve',
          {'document_root': settings.MEDIA_ROOT}),
     )
         (r'^media/(?P<path>.*)$', 'django.views.static.serve',
          {'document_root': settings.MEDIA_ROOT}),
     )
-#    urlpatterns += auf_media_patterns