Missing text in documentation of class-based views.
|Reported by:||Owned by:||nobody|
|Severity:||Normal||Keywords:||documentation class-based views extra context|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In docs/topics/class-based-views/generic-display.txt, in the section entitled "Adding extra context", there is a question mark missing at the end of the first paragraph and there seems to be some connecting text missing between the first and second paragraphs: as it stands now, the text does not make sense:
Often you simply need to present some extra information beyond that
provided by the generic view. For example, think of showing a list of
all the books on each publisher detail page. The
~django.views.generic.detail.DetailView generic view provides
the publisher to the context, but how do we get additional information
in that template.
However, there is; you can subclass
~django.views.generic.detail.DetailView and provide your own
implementation of the