You can use HiddenInput as ref1 widget: class TestModelForm(ModelForm): class Meta: model = TestModel widgets = { 'ref1': forms.
確定! 回上一頁