diff --git a/program/serializers.py b/program/serializers.py index e08726fc221f21416f7196da0c7b9668cf421f8e..e32a09adf8df67fd3fd3e48a97c1de8cca189582 100644 --- a/program/serializers.py +++ b/program/serializers.py @@ -36,7 +36,7 @@ class UserSerializer(serializers.ModelSerializer): class Meta: model = User - fields = ('username', 'first_name', 'last_name', 'email', 'is_staff', 'is_active', 'password', 'profile') + fields = ('id', 'username', 'first_name', 'last_name', 'email', 'is_staff', 'is_active', 'password', 'profile') def create(self, validated_data): """