old_contents: from django.conf.urls import patterns, url
  
  
  def view():
      pass
  
  urlpatterns = patterns(
      "",
      url("^$", view, name="index"),
      url("^(?P<url_title>[^/]+)/$", view, name="detail"),
  )
  
new_contents: from django.conf.urls import patterns, url
  
  
  urlpatterns = patterns(
      "",
      url("^$", lambda: None, name="index"),
      url("^(?P<url_title>[^/]+)/$", lambda: None, name="detail"),
  )
  
subject: Replace page test url views with lambdas.