diff --git a/equipment_tracker/transactions/serializers.py b/equipment_tracker/transactions/serializers.py index 91be453..eaad849 100644 --- a/equipment_tracker/transactions/serializers.py +++ b/equipment_tracker/transactions/serializers.py @@ -32,8 +32,12 @@ class TransactionSerializer(serializers.HyperlinkedModelSerializer): equipments = serializers.SlugRelatedField( many=True, slug_field='id', queryset=EquipmentInstance.objects.all(), required=True) subject = serializers.CharField(required=True, allow_null=False) - additional_members = serializers.CharField(required=False, allow_null=True) - consumables = serializers.CharField(required=False, allow_null=True) + additional_members = serializers.CharField( + required=False, allow_null=True, allow_blank=True) + remarks = serializers.CharField( + required=False, allow_null=True, allow_blank=True) + consumables = serializers.CharField( + required=False, allow_null=True, allow_blank=True) timestamp = serializers.DateTimeField( format="%m-%d-%Y %I:%M %p", read_only=True)