Skip to content

Commit

Permalink
fix: GenerateResumeSerializer의 date를 datefield로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yjoonjang committed May 7, 2024
1 parent 76f6cd0 commit d0d1f28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resume/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class GenerateResumeSerializer(serializers.Serializer):
title = serializers.CharField()
position = serializers.CharField()
company = serializers.CharField()
due_date = serializers.CharField()
due_date = serializers.DateField(format='%Y-%m-%d')
question = serializers.CharField()
guidelines = serializers.ListField(child=serializers.CharField())
answers = serializers.ListField(child=serializers.CharField())
Expand Down
4 changes: 3 additions & 1 deletion resume/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ class GenerateResumeView(APIView):
"해당 직무랑 자신과 잘 어울리는 이유"
],
"answers": [
"이 직무가 좋아서", "", "개발을 잘해서"
"이 직무가 좋아서",
"",
"개발을 잘해서"
],
"free_answer": "",
"favor_info": "개발을 성실하게 잘하고 인프라 지식이 많으신 분"
Expand Down

0 comments on commit d0d1f28

Please sign in to comment.