Browse Source

Reduce user serializers information

pull/1224/head
Hironsan 3 years ago
parent
commit
781b3b089a
1 changed files with 1 additions and 1 deletions
  1. 2
      app/api/serializers.py

2
app/api/serializers.py

@ -17,7 +17,7 @@ class UserSerializer(serializers.ModelSerializer):
class Meta:
model = get_user_model()
fields = ('id', 'username', 'first_name', 'last_name', 'email', 'is_superuser')
fields = ('id', 'username', 'is_superuser')
class LabelSerializer(serializers.ModelSerializer):

Loading…
Cancel
Save