X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/979cc8e80c887caa8a91a86dd2ed2971bfe2bff5..fea0e7bc58a970ddb5894105616be97925b2b91c:/cas_provider_examples/simple/urls.py?ds=inline diff --git a/cas_provider_examples/simple/urls.py b/cas_provider_examples/simple/urls.py index 1d8eafa..f1b5378 100644 --- a/cas_provider_examples/simple/urls.py +++ b/cas_provider_examples/simple/urls.py @@ -1,10 +1,11 @@ -from django.conf.urls import patterns, include, url +from __future__ import unicode_literals + +from django.conf.urls import include, url from django.contrib import admin from django.views.generic import TemplateView -urlpatterns = patterns('', +urlpatterns = [ url(r'^admin/', include(admin.site.urls)), - url(r'^', include('cas_provider.urls')), - url(r'^accounts/profile', TemplateView.as_view(template_name='login-success-redirect-target.html')), - - ) + url(r'^', include('cas_provider.urls')), + url(r'^accounts/profile', TemplateView.as_view(template_name='login-success-redirect-target.html')), +]