diff --git a/registrasion/reporting/views.py b/registrasion/reporting/views.py index 6a507135..489a8203 100644 --- a/registrasion/reporting/views.py +++ b/registrasion/reporting/views.py @@ -139,8 +139,8 @@ def product_status(request, form): items = items.annotate( is_reserved=Case( - When(cart__in=commerce.Cart.reserved_carts(), then=Value(1)), - default=Value(0), + When(cart__in=commerce.Cart.reserved_carts(), then=Value(True)), + default=Value(False), output_field=models.BooleanField(), ), )