class BaseDetailView(SingleObjectMixin, View):
Known subclasses: django.views.generic.dates.BaseDateDetailView
, django.views.generic.edit.BaseDeleteView
, django.views.generic.DetailView
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 |