How to make a field in Django Admin readonly or non-editable based on the value from another field?
I have used readonly_fields=('amount',) but this wont fix my problem , as I need to manage it based on another field .
How to make a field in Django Admin readonly or non-editable based on the
Share
You can override the admin’s
get_readonly_fieldsmethod: