Re: How to omit Admin field verbose name

2020-05-07 Thread Mike Dewhirst
On 7/05/2020 7:24 pm, Derek wrote: I do something similar but not exactly the same. Perhaps like this (WARNING: untested code) under the class MyModelAdmin:     def get_form(self, request, obj=None, **kwargs):         form = super(MyModelAdminForm, self).get_form(request, obj, **kwargs)      

Re: How to omit Admin field verbose name

2020-05-07 Thread Derek
I do something similar but not exactly the same. Perhaps like this (WARNING: untested code) under the class MyModelAdmin: def get_form(self, request, obj=None, **kwargs): form = super(MyModelAdminForm, self).get_form(request, obj, **kwargs) if form.base_fields: f

How to omit Admin field verbose name

2020-05-05 Thread Mike Dewhirst
One of my Admin forms has a price field and the currency and symbol depend on the selected region. I would like to display (readonly) just the field content for currency and symbol for example ... "AUD $ [   222.22]" ... but all I can achieve at the moment is ... "Currency: