fixes #2136: allow converting without publication
[audio.git] / audiobooks / urls.py
index 76efbb3..9ad2de4 100644 (file)
@@ -10,8 +10,8 @@ urlpatterns = patterns('',
     url(r'^archive/', include('archive.urls')),
 
     url(r'^admin/', include(admin.site.urls)),
-    url(r'^accounts/login/', 'django.contrib.auth.views.login'),
-    url(r'^accounts/logout/', 'archive.views.logout_view', name='logout'),
+    url(r'^accounts/login/$', 'django_cas.views.login', name='login'),
+    url(r'^accounts/logout/$', 'django_cas.views.logout', name='logout'),
 )
 
 if settings.DEBUG: