#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)
Change History (7)
comment:1 by , 17 years ago
| milestone: | → 1.0 | 
|---|---|
| Triage Stage: | Unreviewed → Accepted | 
comment:2 by , 17 years ago
| Owner: | changed from to | 
|---|---|
| Status: | new → assigned | 
by , 17 years ago
| Attachment: | ticket_7243.diff added | 
|---|
comment:3 by , 17 years ago
| Has patch: | set | 
|---|---|
| Triage Stage: | Accepted → Ready for checkin | 
comment:4 by , 17 years ago
comment:5 by , 17 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
Another one that needs to wait until after the docs refactor lands (which will be shortly).