- url(r'^accounts/login/$', auth_views + '.login', name = 'login'),
- url(r'^accounts/logout/$', auth_views + '.logout', name = 'logout'),
+ url(r'^accounts/login/$', 'django_cas.views.login', name = 'login'),
+ url(r'^accounts/logout/$', 'django_cas.views.logout', name = 'logout'),
{'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
url(r'^%s(?P<path>.+)$' % settings.STATIC_URL[1:], 'django.views.static.serve',
{'document_root': settings.STATIC_ROOT, 'show_indexes': True}),
{'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
url(r'^%s(?P<path>.+)$' % settings.STATIC_URL[1:], 'django.views.static.serve',
{'document_root': settings.STATIC_ROOT, 'show_indexes': True}),