Created
July 8, 2019 07:33
-
-
Save akshar-raaj/cf56e350a5db5a7e3e4f47ec78b478eb to your computer and use it in GitHub Desktop.
ChoiceSerializer
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 ChoiceSerializer(serializers.ModelSerializer): | |
| class Meta: | |
| model = Choice | |
| fields = ('choice_text',) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment