Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#7243 closed (fixed)

Incorrect get_db_prep_lookup documentation (in custom fields)

Reported by: Pavel Anossov Owned by: njharman
Component: Documentation Version: dev
Severity: Keywords: get_db_prep_lookup
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

Custom model fields documentation states that one can simply return get_db_prep_save result from get_db_prep_lookup. However, one must return a list from get_db_prep_lookup (or call super(CustomField, self).get_db_prep_lookup and return that).

Attachments (1)

ticket_7243.diff (626 bytes ) - added by njharman 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Eric Holscher, 16 years ago

milestone: 1.0
Triage Stage: UnreviewedAccepted

comment:2 by njharman, 16 years ago

Owner: changed from nobody to njharman
Status: newassigned

by njharman, 16 years ago

Attachment: ticket_7243.diff added

comment:3 by njharman, 16 years ago

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:4 by Malcolm Tredinnick, 16 years ago

Another one that needs to wait until after the docs refactor lands (which will be shortly).

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

Resolution: fixed
Status: assignedclosed

(In [8520]) Fixed #7243: Corrected some example code in the custom model fields documentation. Thanks to Norman Harman for the fix.

comment:6 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

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