# from rest_framework import serializers, viewsets
# from .models import Detail


# class DetailSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Detail
#         fields = (
#             'contest_id',
#             '마감기한',
#             '지원자격',
#             '대회일정',
#             '상금',
#             '홈페이지'
#         )
