old_contents: from distutils.version import StrictVersion
  import django
  if StrictVersion(django.get_version()) >= StrictVersion('1.6'):
     from django.conf.urls import patterns, url, include
  else:
     from django.conf.urls.defaults import *
  
  from views import ShibbolethView, ShibbolethLogoutView, ShibbolethLoginView
  
  urlpatterns = patterns('', 
      url(r'^login/$', ShibbolethLoginView.as_view(), name='login'),
      url(r'^logout/$', ShibbolethLogoutView.as_view(), name='logout'),
      url(r'^$', ShibbolethView.as_view(), name='info'),
  )
new_contents: from distutils.version import StrictVersion
  import django
  if StrictVersion(django.get_version()) < StrictVersion('1.4'):
      from django.conf.urls.defaults import *
  else:
      from django.conf.urls import patterns, url
  
  from views import ShibbolethView, ShibbolethLogoutView, ShibbolethLoginView
  
  urlpatterns = patterns('',
      url(r'^login/$', ShibbolethLoginView.as_view(), name='login'),
      url(r'^logout/$', ShibbolethLogoutView.as_view(), name='logout'),
      url(r'^$', ShibbolethView.as_view(), name='info'),
  )
subject: Change version check. Remove include import.