How to change the widget for a computed field on a Django Admin model form

142 Views Asked by At

For a Django Admin model form, if you display a calculated field, is there a way to also specify the widget the form should used to display that field? I cannot seem to find any mention of this. All the examples I have found describe how to override a standard (i.e., non-calculated) field's widget.

0

There are 0 best solutions below