Update forms.py

This commit is contained in:
quark 2024-03-27 09:43:49 +01:00
parent 73de6e2176
commit f7ebe0e99b
1 changed files with 7 additions and 8 deletions

View File

@ -115,13 +115,12 @@ class ValidationForm(forms.Form):
required=False, required=False,
initial=True, initial=True,
) )
'''
# If the bda exists # If the bda exists
if Club.objects.filter(name__iexact="bda").exists(): # if Club.objects.filter(name__iexact="bda").exists():
# The user can join the bda club at the inscription # The user can join the bda club at the inscription
join_bda = forms.BooleanField( # join_bda = forms.BooleanField(
label=_("Join BDA Club"), # label=_("Join BDA Club"),
required=False, # required=False,
initial=True, # initial=True,
) # )
'''