Remove default for CharField (introduced unwantedly)

This commit is contained in:
PCoder 2019-12-17 22:09:34 +05:30
parent 3efd6087e2
commit cdaf498487

View file

@ -120,7 +120,7 @@ class EditCreditCardForm(forms.Form):
class BillingAddressForm(forms.ModelForm): class BillingAddressForm(forms.ModelForm):
token = forms.CharField(widget=forms.HiddenInput(), required=False) token = forms.CharField(widget=forms.HiddenInput(), required=False)
card = forms.CharField(widget=forms.HiddenInput(), required=False) card = forms.CharField(widget=forms.HiddenInput(), required=False)
vat_number = forms.CharField(max_length=100, default="") vat_number = forms.CharField(max_length=100)
class Meta: class Meta:
model = BillingAddress model = BillingAddress