From 30058efa415316878ae2461f1e1d79897c5a1a4f Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 16 Jul 2017 03:39:37 +0530 Subject: [PATCH] Inroduced credit card holder's name in Billing Address --- utils/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/forms.py b/utils/forms.py index 15086dc6..250ba803 100644 --- a/utils/forms.py +++ b/utils/forms.py @@ -104,8 +104,9 @@ class BillingAddressForm(forms.ModelForm): class Meta: model = BillingAddress - fields = ['street_address', 'city', 'postal_code', 'country'] + fields = ['cardholder_name', 'street_address', 'city', 'postal_code', 'country'] labels = { + 'cardholder_name': _('Cardholder Name'), 'street_address': _('Street Address'), 'city': _('City'), 'postal_code': _('Postal Code'),