Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#10329 closed (fixed)

link "get_FOO_display()" in model field reference

Reported by: Tay Ray Chuan Owned by: nobody
Component: Documentation Version: 1.0
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 the second last paragraph of the "choices" section under "Field options", the method "get_FOO_display" is mentioned, and the user is told to look for this in the "database API documentation".

Currently, this text in not linked to anything, and the "database API" may be confusing to newcomers who may try to search for this in django's documentation, when he/she should be looking in the model API.

It would be very helpful to newcomers to django to find out more about this method if it were linked to the method's documentation, namely, at, http://docs.djangoproject.com/en/dev/ref/models/instances/#get-foo-display.

Attachments (1)

get_FOO_display-link.diff (1.5 KB ) - added by Tim Graham 16 years ago.
linking get_FOO_display, plus a stray colon deleted

Download all attachments as: .zip

Change History (7)

comment:1 by Jacob, 16 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

by Tim Graham, 16 years ago

Attachment: get_FOO_display-link.diff added

linking get_FOO_display, plus a stray colon deleted

comment:2 by Tim Graham, 16 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by anonymous, 16 years ago

Has patch: set

comment:4 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [10152]) Fixed #10329 -- Added link target for get_FOO_display, get_next_by_FOO, and get_previous_by_FOO. Thanks to rctay for the report, and timo for the patch.

comment:5 by Russell Keith-Magee, 16 years ago

(In [10160]) [1.0.X] Fixed #10329 -- Added link target for get_FOO_display, get_next_by_FOO, and get_previous_by_FOO. Thanks to rctay for the report, and timo for the patch.

Merge of r10152 from trunk.

comment:6 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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