#14489 closed (fixed)
Typo in generic views docs
Reported by: | cwhaines | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
On the "Class-based generic views" page under "viewing subsets of objects" there is a code example in which the last line is:
queryset = Publisher.object.all()
It should be:
queryset = Publisher.objects.all()
Note:
See TracTickets
for help on using tickets.
(In [14261]) Fixed #14489 -- Corrected code example in class-based views docs. Thanks to cwhaines for the report. Also includes title capitalization fix, reported by apollo13.