Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#11141 closed (fixed)

django.contrib.admin docs -- Error in code example

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

Description

In one of the django.contrib.admin doc examples, the Person.born_in_fifties() method does not do what the method name implies.

Attachments (2)

django-ticket-11141.diff (548 bytes ) - added by Stein Magnus Jodal 15 years ago.
Patch which fixes the inconsistency.
11141.diff (551 bytes ) - added by Chris Beaven 15 years ago.

Download all attachments as: .zip

Change History (5)

by Stein Magnus Jodal, 15 years ago

Attachment: django-ticket-11141.diff added

Patch which fixes the inconsistency.

by Chris Beaven, 15 years ago

Attachment: 11141.diff added

comment:1 by Chris Beaven, 15 years ago

Triage Stage: UnreviewedReady for checkin

I'm guessing based on the slice, that this is actually what was intended.

comment:2 by Russell Keith-Magee, 15 years ago

Resolution: fixed
Status: newclosed

(In [11049]) Fixed #11141 -- Corrected a code example in the admin docs. Thanks to jodal for the report, and SmileyChris for the patch.

comment:3 by Russell Keith-Magee, 15 years ago

(In [11061]) [1.0.X] Fixed #11141 -- Corrected a code example in the admin docs. Thanks to jodal for the report, and SmileyChris for the patch.

Merge of r11049 from trunk.

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