tests fix
[redakcja.git] / redakcja / urls.py
index 1d76ee8..4aedf58 100644 (file)
@@ -9,8 +9,11 @@ admin.autodiscover()
 
 urlpatterns = patterns('',
     # Auth
 
 urlpatterns = patterns('',
     # Auth
-    url(r'^accounts/login/$', 'django.contrib.auth.views.login', name='login'),
-    url(r'^accounts/logout/$', 'catalogue.views.logout_then_redirect', name='logout'),
+    #url(r'^accounts/login/$', 'django.contrib.auth.views.login', name='login'),
+    #url(r'^accounts/logout/$', 'catalogue.views.logout_then_redirect', name='logout'),
+
+    url(r'^accounts/login/$', 'django_cas.views.login', name='login'),
+    url(r'^accounts/logout/$', 'django_cas.views.logout', name='logout'),
 
     # Admin panel
     (r'^admin/filebrowser/', include('filebrowser.urls')),
 
     # Admin panel
     (r'^admin/filebrowser/', include('filebrowser.urls')),