#20612 closed Uncategorized (fixed)
Missing text in documentation of class-based views.
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.5 |
Severity: | Normal | Keywords: | documentation class-based views extra context |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
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:
<quote>
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
:class:~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
:class:~django.views.generic.detail.DetailView
and provide your own
implementation of the get_context_data
method.
</quote>
Change History (3)
comment:1 by , 11 years ago
Easy pickings: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In b53ed5ac55d5881f129c4921199af355e2b13565: