Now I can display the item I want using list_display [], but I would like them to be displayed in alphabetical order. How do you make list_display sorted alphabetically?
Example in Django-admin:
class PersonAdmin(admin.ModelAdmin): list_display = ('upper_case_name',) def upper_case_name(self, obj): return ("%s %s" % (obj.first_name, obj.last_name)).upper() upper_case_name.short_description = 'Name'
How to change this to display in alphabetical order? Need help with this ...
source share