Created
July 22, 2019 19:30
-
-
Save akshar-raaj/ec28ba96a1a0799469ab091f9940618a 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 django.contrib.auth.models import Group | |
| class GroupSerializer(serializers.ModelSerializer): | |
| class Meta: | |
| model = Group | |
| fields = ('id', 'name') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment