old_contents: from django.views.generic import ListView, DetailView
  
  from posts.models import Post
  
  
  class PostListView(ListView):
      model = Post
  
  class PostDetailView(DetailView):
      model = Post
  
new_contents: from django.views.generic import ListView, DetailView
  
  from posts.models import Post
  
  
  class PostListView(ListView):
      model = Post
  
  
  class PostDetailView(DetailView):
      model = Post
  
subject: add pep8 missing newline to views