Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#11477 closed (fixed)

Generic views doc points out design flaw with wrong queryset

Reported by: msmith64 Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

http://docs.djangoproject.com/en/dev/topics/generic-views/#adding-extra-context points out a "subtle bug"; however, the description refers to "Publisher.objects.all()". The following Note section explicitly states that, "This problem doesn't apply to the queryset generic view argument," which means that the previous paragraph must refer to "Books.objects.all()", not "Publisher.objects.all()".

Attachments (1)

11477.diff (948 bytes ) - added by Chris Beaven 15 years ago.

Download all attachments as: .zip

Change History (4)

by Chris Beaven, 15 years ago

Attachment: 11477.diff added

comment:1 by Chris Beaven, 15 years ago

Component: UncategorizedDocumentation
Triage Stage: UnreviewedReady for checkin
Version: 1.0SVN

comment:2 by Luke Plant, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in r11484, thanks.

comment:3 by Luke Plant, 15 years ago

(In [11499]) Fixed #11554: Several errors in Generic Views Documentation.

Thanks Ramiro.
Refs #11477 - that ticket should have been marked a duplicate of #11554

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