Re: change display value of filter in admin

2016-06-01 Thread Derek
You need to use a Django SimpleListFilter; e.g. see http://gpiot.com/blog/django-cookbook-custom-admin-list-filters/ or https://www.elements.nl/2015/03/16/getting-the-most-out-of-django-admin-filters/ On Tuesday, 31 May 2016 13:52:06 UTC+2, Brad Rice wrote: > > I have a field that has two values

change display value of filter in admin

2016-05-31 Thread Brad Rice
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