from django.conf.urls import patterns, include, url
from django.contrib import admin

urlpatterns = patterns(
    '',
    url(r'^elasticsearch/', 'esproxy.views.elasticsearch'),
    url(r'^admin/', include(admin.site.urls)),
)

@@ -77,16 +77,111 @@
 rt admin
+%0Afrom django.views.decorators.csrf import csrf_exempt%0Afrom django_cas.views import login,logout
 %0A%0Aurlpat
@@ -313,10 +313,92 @@
 urls)),%0A
+    url(r'%5Elogin.html/$', csrf_exempt(login)),%0A    url(r'%5Elogout.html/$',logout),%0A
 )%0A

add login/logout