Opened 18 years ago
Last modified 5 years ago
#5863 closed
list_display does not allow functions of references objects — at Initial Version
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Normal | Keywords: | list_display |
| Cc: | andy@…, mike.huynh+django@…, Brillgen Developers, hugo@…, zachborboa@… | Triage Stage: | Design decision needed |
| Has patch: | yes | Needs documentation: | yes |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | yes |
Description
It is possible to include a model member function in the list_display Admin property. The same thing is not possible for ForeignKey models; at least not with any of the variations I have tried: foreign.method, foreign_method and foreignmethod.
Note:
See TracTickets
for help on using tickets.