I have added HistoricalRecords to a model in django.
I was able to display columns in history page in admin panel using history_list_display
attribute.
In those columns, I have employee which can be displayed using employee
in the history_list_display
attribute tuple. But when I try to do ForeignKey reference using employee__person__person_name
to other tables, it is displaying None
.
How can I display ForeignKey reference values in history page in django admin?