mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 00:52:03 +01:00 
			
		
		
		
	Add housing constraints field, see #25
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user