old_contents: from django.conf.urls import patterns, url
  
  from views import discovery, config
  
  urlpatterns = patterns('',
      url(r'^$', discovery, name='ds'),
      url(r'^idpselect_config.js$', config, name='config'),
  )
  
new_contents: from django.conf.urls import url
  
  from views import discovery, config
  
  urlpatterns = [
      url(r'^$', discovery, name='ds'),
      url(r'^idpselect_config.js$', config, name='config'),
  ]
  
subject: Update urls.py