views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix

template_name_suffix The suffix to append to the auto-generated candidate template name. Default suffix is _detail

2016-10-09 18:41:04
views.generic.detail.SingleObjectMixin.get_slug_field()

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

2016-10-09 18:41:02
views.generic.detail.SingleObjectMixin.slug_field

slug_field The name of the field on the model that contains the slug. By default, slug_field is 'slug'

2016-10-09 18:41:03
views.generic.detail.SingleObjectMixin.context_object_name

context_object_name Designates the name of the variable to use in the context.

2016-10-09 18:41:01
views.generic.detail.SingleObjectMixin.get_queryset()

get_queryset() Returns the queryset that will be used to retrieve the object that this view will display. By default,

2016-10-09 18:41:02
views.generic.detail.SingleObjectTemplateResponseMixin.template_name_field

template_name_field The field on the current object instance that can be used to determine the name of a candidate template

2016-10-09 18:41:03
views.generic.detail.SingleObjectTemplateResponseMixin

class django.views.generic.detail.SingleObjectTemplateResponseMixin A mixin class that performs template-based response rendering

2016-10-09 18:41:03
views.generic.detail.SingleObjectMixin.query_pk_and_slug

query_pk_and_slug If True, causes get_object() to perform its lookup using both the primary key and

2016-10-09 18:41:03
views.generic.detail.SingleObjectTemplateResponseMixin.get_template_names()

get_template_names() Returns a list of candidate template names. Returns the following list:

2016-10-09 18:41:03
views.generic.detail.SingleObjectMixin.get_object()

get_object(queryset=None) Returns the single object that this view will display. If queryset is provided, that

2016-10-09 18:41:02