old_contents: from django.shortcuts import get_object_or_404, render
  from django.http import HttpResponseRedirect
  from django.core.urlresolvers import reverse
  from django.views import generic
  
  
  class IndexView(generic.ListView):
      template_name = 'index.html'
      context_object_name = ''
  
      def get_queryset(self):
          return None
  
new_contents: from django.views import generic
  
  
  class IndexView(generic.ListView):
      template_name = 'index.html'
      context_object_name = ''
  
      def get_queryset(self):
          return None
  
subject: Remove unneeded imports