code: def topic_detail(request, slug):
      
      extra_context = {
          'question_list': Question.objects.published().filter(topic__slug=slug),
      }
  
      return object_detail(request, queryset=Topic.objects.published(),
          extra_context=extra_context, template_object_name='topic', slug=slug)
docs: A detail view of a Topic
  
      Templates:
          :template:`faq/topic_detail.html`
      Context:
          topic
              An :model:`faq.Topic` object.
          question_list
              A list of all published :model:`faq.Question` objects that relate
              to the given :model:`faq.Topic`.