old_contents: from django.shortcuts import render
  
  from akllt.models import NewsStory
  
  
  def news_items(request):
      return render(request, 'akllt/news/news_items.html', {
          'news_items': NewsStory.objects.all()[:20]
      })
  
new_contents: from django.shortcuts import render, get_object_or_404
  
  from akllt.models import NewsStory
  
  
  def news_items(request):
      return render(request, 'akllt/news/news_items.html', {
          'news_items': NewsStory.objects.all()[:20]
      })
  
  
  def news_details(request, news_item_id):
      news_item = get_object_or_404(NewsStory, pk=news_item_id)
      return render(request, 'akllt/news/news_details.html', {
          'news_item': news_item,
      })
  
subject: Add view for news details