diff --git a/equipment_tracker/transactions/serializers.py b/equipment_tracker/transactions/serializers.py index 8d956b1..fea196a 100644 --- a/equipment_tracker/transactions/serializers.py +++ b/equipment_tracker/transactions/serializers.py @@ -9,10 +9,11 @@ from config.settings import DEBUG class CustomUserSerializer(serializers.ModelSerializer): name = serializers.CharField(source='__str__') + course = serializers.CharField() class Meta: model = CustomUser - fields = ['id', 'name'] + fields = ['id', 'name', 'course'] class EquipmentInstanceSerializer(serializers.ModelSerializer):