Created
May 7, 2019 05:59
-
-
Save akshar-raaj/ea7ce668eb210af8d9d2ce4d779e99ac to your computer and use it in GitHub Desktop.
Question Serializer with fields
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
| class QuestionSerializer(serializers.ModelSerializer): | |
| class Meta: | |
| model = Question | |
| fields = '__all__' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment