  :attr:`~django.views.generic.detail.SingleObjectMixin.model` attribute
  on the view, or the
  :attr:`~django.views.generic.detail.SingleObjectMixin.queryset`
  attribute if that's provided). ``SingleObjectMixin`` also overrides
  :meth:`~django.views.generic.base.ContextMixin.get_context_data`,
  which is used across all Django's built in class-based views to supply
  context data for template renders.
  
  To then make a :class:`~django.template.response.TemplateResponse`,
  :class:`DetailView` uses
 
</s> remove :meth:`~django.views.generic.base.ContextMixin.get_context_data` to
 </s> add :meth:`~django.views.generic.base.ContextMixin.get_context_data()` to </s> remove     ``get_context_data`` returns a dictionary; in ``ContextMixin`` it
 </s> add     ``get_context_data()`` returns a dictionary; in ``ContextMixin`` it </s> remove **``Book`` queryset for use by ``ListView``**
    The default implementation of ``get_queryset`` uses the ``model`` attribute
 </s> add ``Book`` queryset for use by :class:`~django.views.generic.list.ListView`
    The default implementation of ``get_queryset()`` uses the ``model`` attribute </s> remove     :meth:`~django.views.generic.base.ContextMixin.get_context_data` passing
 </s> add     :meth:`~django.views.generic.base.ContextMixin.get_context_data()` passing </s> remove     ``render_to_response`` itself calls
 </s> add     ``render_to_response()`` itself calls
:meth:`~django.views.generic.base.ContextMixin.get_context_data()`,
  :attr:`~django.views.generic.detail.SingleObjectMixin.model` attribute
  on the view, or the
  :attr:`~django.views.generic.detail.SingleObjectMixin.queryset`
  attribute if that's provided). ``SingleObjectMixin`` also overrides
:meth:`~django.views.generic.base.ContextMixin.get_context_data()`,
  which is used across all Django's built in class-based views to supply
  context data for template renders.
  
  To then make a :class:`~django.template.response.TemplateResponse`,
  :class:`DetailView` uses
keep keep keep keep replace keep keep keep keep keep
 Fixed #20658 -- Fixed bad reST formatting and missing parentheses in the docs for CBV mixins

Thanks to Keryn Knight for the report. 
docs/topics/class-based-views/mixins.txt