Phone not required.
authorRadek Czajka <rczajka@rczajka.pl>
Fri, 6 Dec 2024 12:49:56 +0000 (13:49 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Fri, 6 Dec 2024 12:49:56 +0000 (13:49 +0100)
src/club/forms.py

index 22b0554..b75877d 100644 (file)
@@ -73,7 +73,6 @@ class DonationStep2Form(forms.ModelForm, NewsletterForm):
 
         self.fields['first_name'].required = True
         self.fields['last_name'].required = True
-        self.fields['phone'].required = True
         
         self.consent = []
         for c in models.Consent.objects.filter(active=True).order_by('order'):