old_contents: from django.conf.urls import patterns, include, url
  
  
  urlpatterns = patterns(
      '',
      url(r'^$', TemplateView.as_view(template_name='index.html')),
  )
  
new_contents: from django.conf.urls import patterns, include, url
  from django.views.generic import TemplateView
  
  
  urlpatterns = patterns(
      '',
      url(r'^$', TemplateView.as_view(template_name='index.html')),
  )
  
subject: Add TemplateView import to project urls