23👍
✅
created_weekday.short_description = 'Foo'
This solution requires the method to be defined in the ModelAdmin class. You can call a Model method (eg: get_created_weekday
) from ModelAdmin like:
def created_weekday(self, obj):
return obj.get_created_weekday()
Source:stackexchange.com