📜  设置字段 django 的标签 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:47.679000             🧑  作者: Mango

代码示例1
def __init__(self, *args, **kwargs):
    super(YourFormSuper, self).__init__(*args, **kwargs)
    self.fields['field_key'].label = "Your custom lable"