1 from __future__ import unicode_literals
3 from django.conf.urls import include, url
4 from django.contrib import admin
5 from django.views.generic import TemplateView
6 from django import VERSION
9 from django.urls import path
12 url(r'^admin/', include(admin.site.urls)) if VERSION < (2,) else path('admin/', admin.site.urls),
13 url(r'^', include('cas_provider.urls')),
14 url(r'^accounts/profile', TemplateView.as_view(template_name='login-success-redirect-target.html')),