diff --git a/core/tickets/serializers.py b/core/tickets/serializers.py index 4050324..d7f89df 100644 --- a/core/tickets/serializers.py +++ b/core/tickets/serializers.py @@ -32,7 +32,7 @@ class StateSerializer(serializers.Serializer): class ShippingCodeSerializer(serializers.ModelSerializer): class Meta: model = ShippingCode - fields = ('id', 'code', 'timestamp', 'issue_thread', 'used_at', 'type') + fields = ('id', 'code', 'type', 'timestamp', 'issue_thread', 'used_at') read_only_fields = ('id', 'timestamp', 'used_at')