1
0

comments.py 213 B

1234567
  1. from rest_framework import serializers
  2. from webservice_running.models import Comments
  3. class CommentsSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = Comments
  6. exclude = ["id"]