From: Radek Czajka Date: Wed, 19 Jun 2013 10:55:08 +0000 (+0200) Subject: CASify admin. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/43a0821ebc84593e4bf9c073035574b28841471e?ds=inline CASify admin. --- diff --git a/redakcja/urls.py b/redakcja/urls.py index 17fa1bbb..b3da1ee6 100644 --- a/redakcja/urls.py +++ b/redakcja/urls.py @@ -14,6 +14,8 @@ urlpatterns = patterns('', # Auth url(r'^accounts/login/$', 'django_cas.views.login', name='login'), url(r'^accounts/logout/$', 'django_cas.views.logout', name='logout'), + url(r'^admin/login/$', 'django_cas.views.login', name='login'), + url(r'^admin/logout/$', 'django_cas.views.logout', name='logout'), # Admin panel url(r'^admin/doc/', include('django.contrib.admindocs.urls')),