- 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'),