template_name_suffix The suffix to append to the auto-generated candidate template name. Default suffix is _detail
slug_field The name of the field on the model that contains the slug. By default, slug_field is 'slug'
get_slug_field() Returns the name of a slug field to be used to look up by slug. By default this simply returns the value of
template_name_field The field on the current object instance that can be used to determine the name of a candidate template
query_pk_and_slug If True, causes get_object() to perform its lookup using both the primary key and
class django.views.generic.detail.SingleObjectTemplateResponseMixin A mixin class that performs template-based response rendering
context_object_name Designates the name of the variable to use in the context.
get_queryset() Returns the queryset that will be used to retrieve the object that this view will display. By default,
get_template_names() Returns a list of candidate template names. Returns the following list:
get_object(queryset=None) Returns the single object that this view will display. If queryset is provided, that
Page 1 of 2