old_contents: from django.http.response import HttpResponse
  from django.template import Context, loader
  
  from .models import Tag
  
  
  def homepage(request):
      tag_list = Tag.objects.all()
      template = loader.get_template(
          'organizer/tag_list.html')
      context = Context({'tag_list': tag_list})
      output = template.render(context)
      return HttpResponse(output)
  
  
  def tag_detail(request):
      return HttpResponse()
  
new_contents: from django.http.response import HttpResponse
  from django.template import Context, loader
  
  from .models import Tag
  
  
  def homepage(request):
      tag_list = Tag.objects.all()
      template = loader.get_template(
          'organizer/tag_list.html')
      context = Context({'tag_list': tag_list})
      output = template.render(context)
      return HttpResponse(output)
  
  
  def tag_detail(request):
      # slug = ?
      tag = Tag.objects.get(slug__iexact=slug)
      return HttpResponse()
  
subject: Tag Detail: get Tag from database.