From cdaf498487c6978e1a7e2a0280248101e3ba8c96 Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 17 Dec 2019 22:09:34 +0530 Subject: [PATCH] Remove default for CharField (introduced unwantedly) --- utils/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/forms.py b/utils/forms.py index b7c8c6b1..9855e367 100644 --- a/utils/forms.py +++ b/utils/forms.py @@ -120,7 +120,7 @@ class EditCreditCardForm(forms.Form): class BillingAddressForm(forms.ModelForm): token = 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: model = BillingAddress