ModelForm自定义字段的显示效果 class ChargeModelForm(BootStrapModelForm, forms.ModelForm): # 静态变量 # charge_type = forms.ChoiceField( # label='类型', # choices=[(1, Read More
posted @ 2022-10-12 16:53 角角边 Views(39) Comments(0) Diggs(0) Edit