Instead of checking for list type, check for collections.Iterable type.
[django-cas-provider.git] / cas_provider_examples / simple / urls.py
1 from django.conf.urls.defaults import patterns, include, url
2
3 import cas_provider
4 from django.views.generic.simple import redirect_to, direct_to_template
5
6 urlpatterns = patterns('',
7                        url(r'^', include('cas_provider.urls')),
8                        url(r'^accounts/profile', direct_to_template, {'template': 'login-success-redirect-target.html'}),
9
10                        )