I want to display my widget on the field at django admin when the field is readonly.
admin.py
class AudioTrackAdminInline(admin.StackedI
I would say it's a feature.
When field is set to readonly, Django uses display_for_field function which hardcodes the result, you can't customize it.
Another approach would be not to set the field as readonly and override formfield_for_dbfield, an undocumented ModelAdmin
method and act accordingly to your needs.