How to allow to edit field in django admin list depending on a value?

前端 未结 0 368
心在旅途
心在旅途 2020-11-29 00:55

I need to allow to change a value of a field if it doesn\'t equal to 0. I found that I need to override get_changelist_form but don\'t know how.

I tried

相关标签:
回答
  • 消灭零回复
提交回复
热议问题