def question_detail(request, topic_slug, slug):
    extra_context = {
        'topic': Topic.objects.published().get(slug=topic_slug),
    }

    return object_detail(request, queryset=Question.objects.published(),
        extra_context=extra_context, template_object_name='question',
        slug=slug)
A detail view of a Question.
dataset/ETHPy150Open benspaulding/django-faq/faq/views/deep.py/question_detail