私信  •  关注

452370284

452370284 最近创建的主题
1
django表单提交数据有问题
Django 452370284 • 6 年前 • 最新回复来自 452370284
452370284 最近回复了
6 年前
回复了 452370284 创建的主题 » django表单提交数据有问题

forms类定义为 class FridgeForm(forms.ModelForm): name=forms.CharField(max_length=30,help_text="Please enter the fridge name.") temperature=forms.FloatField("温度") class Meta: model=fridge fields=('name','temperature')