old_contents: from django.views.generic import DetailView
  
  
  class PageDetail(DetailView):
      """
      Show a Page in all its glory.
  
      Requires `handler` in the kwargs in order to get the Page instance.
      """
      def get_object(self):
          """Return the Page Route passed in kwargs for rendering."""
          return self.kwargs['route']
  
new_contents: from django.views.generic import DetailView
  
  
  class PageDetail(DetailView):
      """Show a Page in all its glory."""
      def get_object(self):
          """Return the Page Route passed in kwargs for rendering."""
          return self.kwargs['route']
  
subject: Simplify PageDetail docstring