Last active
August 27, 2020 02:26
-
-
Save BrockHerion/9ceb8383190a515be3ac160a6031ba35 to your computer and use it in GitHub Desktop.
Normal User serializer
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 UserListSerializer(serializers.ModelSerializer): | |
class Meta: | |
model = AuthUser | |
fields = ( | |
'email', | |
'role' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment