Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#11141 closed (fixed)

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

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

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 jodal 6 years ago.
Patch which fixes the inconsistency.
11141.diff (551 bytes) - added by SmileyChris 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by jodal

Patch which fixes the inconsistency.

Changed 6 years ago by SmileyChris

comment:1 Changed 6 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

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

comment:2 Changed 6 years ago by russellm

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

(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 Changed 6 years ago by russellm

(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