Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#7243 closed (fixed)

Incorrect get_db_prep_lookup documentation (in custom fields)

Reported by: Anossov Owned by: njharman
Component: Documentation Version: master
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: UI/UX:


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 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by ericholscher

  • milestone set to 1.0
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by njharman

  • Owner changed from nobody to njharman
  • Status changed from new to assigned

Changed 7 years ago by njharman

comment:3 Changed 7 years ago by njharman

  • Has patch set
  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 7 years ago by mtredinnick

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

comment:5 Changed 7 years ago by russellm

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

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

comment:6 Changed 4 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

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