Changes between Initial Version and Version 5 of Ticket #5863


Ignore:
Timestamp:
Nov 3, 2007, 8:01:25 PM (17 years ago)
Author:
Gary Wilson
Comment:

Seems like a reasonable addition to me. Do we even allow doing this for actual fields of a related model? This feature probably needs to be part of newforms-admin or wait until that branch is merged though. It would be helpful if you could attach a simple example, or even try your hand at creating a patch.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5863

    • Property Summary list_display does not allow functions of references objectslist_display does not allow functions of referenced objects
    • Property Status newreopened
    • Property Triage Stage UnreviewedAccepted
  • Ticket #5863 – Description

    initial v5  
    1 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 foreign__method.
     1It 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 `foreign__method`.
Back to Top