如何使用form_override覆盖flask中内联_模型的文本字段?

2024-10-02 10:25:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试对内联_模型文本字段使用CKEditor,但它并没有按预期工作

inline_models = [(model.Questions, dict(form_override=dict(question_text=CKEditorField)))]

有什么意见吗


Tags: text模型文本formckeditormodelmodelsinline

热门问题