old_contents: from django.conf.urls.defaults import patterns, url
  
  urlpatterns = patterns('django.views.generic.simple',
      url(r'^simple/$', 'direct_to_template', name='simple-direct'),
  )
  
new_contents: from django.conf.urls.defaults import patterns, url
  from django.views.generic import TemplateView
  
  urlpatterns = patterns('django.views.generic.simple',
      url(r'^simple/$', TemplateView.as_view(), name='simple-direct'),
  )
  
subject: Change direct_to_template view to TemplateView.as_view()