change display value of filter in admin

56 views
Skip to first unread message

Brad Rice

unread,
May 31, 2016, 7:52:06 AM5/31/16
to Django users
I have a field that has two values set "S" or "E". I use it to filter records in the admin. I would like the values in the filter to be spelled out as "Signature" and "Emerging". How do I have it show like that in Admin?


This is my filter:


list_filter = ('app_complete', 'app_type')


app_type is the field I want to change how the field values show to filter on.

Derek

unread,
Jun 1, 2016, 6:12:42 AM6/1/16
to Django users
Reply all
Reply to author
Forward
0 new messages