We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我看到代码里有许多地方的 序列化类的Meta里,有 read_only_fields,但我用在自己的类里面,没有效果。
read_only_fields
我想的是在 list_display_fields 的字段,到update页面之后,只读的是灰掉不可编辑,而不是消失,请问需要哪些改动呢
The text was updated successfully, but these errors were encountered:
没太明白你的需求; 按我目前的理解,我想可能是需要把字段从 read_only_fields 里移出来。
另外,这个项目我现在没去更新它,是因为我没有很好的应用场景,欢迎你提一些需求,让我把它完善起来。
Sorry, something went wrong.
No branches or pull requests
我看到代码里有许多地方的 序列化类的Meta里,有
read_only_fields
,但我用在自己的类里面,没有效果。我想的是在 list_display_fields 的字段,到update页面之后,只读的是灰掉不可编辑,而不是消失,请问需要哪些改动呢
The text was updated successfully, but these errors were encountered: