mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-01-18 17:13:00 +08:00
Fix field typo
This commit is contained in:
parent
f204b7e79e
commit
724132e396
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue