In Django 1.8.6, by default, whenever I provide a list_display
option to a ModelAdmin subclass, the first field in the list becomes clickable and leads to the object edit page.
Is there a way to keep the order of the fields in list_display
, but change the clickable one?
Currently, I have the id
field clickable (it goes first in list_display
), which is a tad small. I would like to better click on, say, name
to go to the edit page.