In my admin.py, I filter by 'active' and 'country', this is done using the following line of code in my SomethingAdmin class ....
list_filter = ['active', 'countryid']
As you can see, countryid is not very beautiful when displayed in my admin list view, how can I change this to a friendlier name, say, only "Country"?
Thank.
Update:
Below seems to work:
incentiveid = models.ForeignKey(Incentive,verbose_name="Incentive",
null=True, db_column='incentiveID', blank=True)
source
share