class documentation

class BaseDetailView(SingleObjectMixin, View):

Known subclasses: django.views.generic.dates.BaseDateDetailView, django.views.generic.edit.BaseDeleteView, django.views.generic.DetailView

View In Hierarchy

A base view for displaying a single object.
Method get Undocumented
Instance Variable object Undocumented

Inherited from SingleObjectMixin:

Method get​_context​_data Insert the single object into the context dict.
Method get​_context​_object​_name Get the name to use for the object.
Method get​_object Return the object the view is displaying.
Method get​_queryset Return the QuerySet that will be used to look up the object.
Method get​_slug​_field Get the name of a slug field to be used to look up by slug.
Class Variable context​_object​_name Undocumented
Class Variable model Undocumented
Class Variable pk​_url​_kwarg Undocumented
Class Variable query​_pk​_and​_slug Undocumented
Class Variable queryset Undocumented
Class Variable slug​_field Undocumented
Class Variable slug​_url​_kwarg Undocumented

Inherited from ContextMixin (via SingleObjectMixin):

Class Variable extra​_context Undocumented
def get(self, request, *args, **kwargs):

Undocumented

object =

Undocumented