Created
May 7, 2019 10:23
-
-
Save akshar-raaj/4b8f8ac9db7a097f872ff8ba71968221 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