class documentation
class BaseDetailView(SingleObjectMixin, View): (source)
Known subclasses: django.views.generic.dates.BaseDateDetailView
, django.views.generic.DetailView
, django.views.generic.edit.BaseDeleteView
A base view for displaying a single object.
Method | get |
Undocumented |
Instance Variable | object |
Undocumented |
Inherited from SingleObjectMixin
:
Method | get |
Insert the single object into the context dict. |
Method | get |
Get the name to use for the object. |
Method | get |
Return the object the view is displaying. |
Method | get |
Return the `QuerySet` that will be used to look up the object. |
Method | get |
Get the name of a slug field to be used to look up by slug. |
Class Variable | context |
Undocumented |
Class Variable | model |
Undocumented |
Class Variable | pk |
Undocumented |
Class Variable | query |
Undocumented |
Class Variable | queryset |
Undocumented |
Class Variable | slug |
Undocumented |
Class Variable | slug |
Undocumented |
Inherited from ContextMixin
(via SingleObjectMixin
):
Class Variable | extra |
Undocumented |