Fix field typo

This commit is contained in:
Keannu Bernasol 2024-11-29 21:39:43 +08:00
parent f204b7e79e
commit 724132e396

View file

@ -18,7 +18,7 @@ class QuestionnaireSerializer(serializers.ModelSerializer):
region_of_residence = serializers.CharField(max_length=64) region_of_residence = serializers.CharField(max_length=64)
service_availed = serializers.CharField(max_length=64) service_availed = serializers.CharField(max_length=64)
i_am_a = serializers.ChoiceField(choices=Questionnaire.I_AM_I_CHOICES) i_am_a = serializers.ChoiceField(choices=Questionnaire.I_AM_I_CHOICES)
i_am_a_type_other = serializers.CharField(required=False) i_am_a_other = serializers.CharField(required=False)
q1_answer = serializers.ChoiceField(choices=Questionnaire.Q1_CHOICES) q1_answer = serializers.ChoiceField(choices=Questionnaire.Q1_CHOICES)
q2_answer = serializers.ChoiceField(choices=Questionnaire.Q2_CHOICES) q2_answer = serializers.ChoiceField(choices=Questionnaire.Q2_CHOICES)
q3_answer = serializers.ChoiceField(choices=Questionnaire.Q3_CHOICES) q3_answer = serializers.ChoiceField(choices=Questionnaire.Q3_CHOICES)
@ -72,7 +72,7 @@ class QuestionnaireSerializer(serializers.ModelSerializer):
"region_of_residence", "region_of_residence",
"service_availed", "service_availed",
"i_am_a", "i_am_a",
"i_am_a_type_other", "i_am_a_other",
"q1_answer", "q1_answer",
"q2_answer", "q2_answer",
"q3_answer", "q3_answer",