diff --git a/equipment_tracker/transactions/serializers.py b/equipment_tracker/transactions/serializers.py index ee57a97..c0e9f93 100644 --- a/equipment_tracker/transactions/serializers.py +++ b/equipment_tracker/transactions/serializers.py @@ -11,10 +11,11 @@ from django.core.cache import cache class CustomUserSerializer(serializers.ModelSerializer): name = serializers.CharField(source='__str__') course = serializers.CharField() + section = serializers.CharField() class Meta: model = CustomUser - fields = ['id', 'name', 'course'] + fields = ['id', 'name', 'course', 'section'] class EquipmentInstanceSerializer(serializers.ModelSerializer):