Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#14489 closed (fixed)

Typo in generic views docs

Reported by: cwhaines Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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()

Change History (2)

comment:1 Changed 5 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(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.

comment:2 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top