From 90e1a87bf4f2b0ea653f50e127e5f55bd106f0f3 Mon Sep 17 00:00:00 2001 From: SDE Date: Mon, 2 Sep 2024 15:14:06 +0300 Subject: [PATCH] 1.6.17 registration not required phone --- AuthApp/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AuthApp/forms.py b/AuthApp/forms.py index 9cafafb..b183c31 100644 --- a/AuthApp/forms.py +++ b/AuthApp/forms.py @@ -26,7 +26,7 @@ class RegistrationForm(forms.Form): email = forms.EmailField() password = forms.CharField(widget=forms.PasswordInput()) confirm_password = forms.CharField(widget=forms.PasswordInput()) - tel = forms.CharField() + tel = forms.CharField(required=False) agreement = forms.BooleanField(initial=False, required=True) def __init__(self, *args, **kwargs):