1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-28 04:32:30 +02:00

Add housing constraints field, see #25

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-01-16 22:26:00 +01:00
parent e031e143c2
commit c5a8581a80
5 changed files with 277 additions and 209 deletions

View File

@ -107,8 +107,8 @@ class StudentRegistrationForm(forms.ModelForm):
class Meta:
model = StudentRegistration
fields = ('team', 'student_class', 'birth_date', 'gender', 'address', 'zip_code', 'city', 'phone_number',
'health_issues', 'school', 'responsible_name', 'responsible_phone', 'responsible_email',
'give_contact_to_animath', 'email_confirmed',)
'school', 'health_issues', 'housing_constraints', 'responsible_name', 'responsible_phone',
'responsible_email', 'give_contact_to_animath', 'email_confirmed',)
class PhotoAuthorizationForm(forms.ModelForm):
@ -205,8 +205,9 @@ class CoachRegistrationForm(forms.ModelForm):
"""
class Meta:
model = CoachRegistration
fields = ('team', 'gender', 'address', 'zip_code', 'city', 'phone_number', 'health_issues',
'professional_activity', 'give_contact_to_animath', 'email_confirmed',)
fields = ('team', 'gender', 'address', 'zip_code', 'city', 'phone_number',
'professional_activity', 'health_issues', 'housing_constraints',
'give_contact_to_animath', 'email_confirmed',)
class VolunteerRegistrationForm(forms.ModelForm):