Making a field readonly in Django Admin, based on another field's value

Viewed 19618

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 .

3 Answers
Related