Skip to content

Commit

Permalink
fix: 검색 serializer에 nowwhere 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJE12 committed Oct 25, 2024
1 parent f62dd06 commit 1c1e321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lostitem/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class LostlistSerializer(serializers.ModelSerializer):

class Meta:
model = Lost
fields = ['lostid', 'image', 'title', 'category', 'getwhere', 'lostdate', 'losttime']
fields = ['lostid', 'image', 'title', 'category', 'getwhere', 'nowwhere', 'lostdate', 'losttime']

# class LostImageUploadSerializer(serializers.ModelSerializer):
# # image = serializers.ImageField()
Expand Down

0 comments on commit 1c1e321

Please sign in to comment.