Created
April 13, 2022 04:48
-
-
Save jangjichang/9611d88569fdd625b7743edf16cd4e1c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from rest_framework import serializers | |
| class CommentSerializer(serializers.Serializer): | |
| email = serializers.EmailField() | |
| content = serializers.CharField(max_length=200) | |
| created = serializers.DateTimeField() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment