1 from django.conf.urls import patterns, include, url
2 from django.contrib import admin
3 from django.views.generic import TemplateView
5 urlpatterns = patterns('',
6 url(r'^admin/', include(admin.site.urls)),
7 url(r'^', include('cas_provider.urls')),
8 url(r'^accounts/profile', TemplateView.as_view(template_name='login-success-redirect-target.html')),