公告
财富商城
积分规则
提问
发文
2019-06-23 22:48发布
走好不送
How do I change the label_suffix on a ModelForm?
label_suffix
ModelForm
I want the model form to remove ":" from all labels.
When the form is instantiated, you can pass label_suffix into it as follows:
list_form = ListForm(label_suffix="")
最多设置5个标签!
When the form is instantiated, you can pass
label_suffix
into it as follows: