Addresses #72, hopefully.
This commit is contained in:
		
							parent
							
								
									878da1f2d8
								
							
						
					
					
						commit
						ea599bbaad
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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(), | ||||
|         ), | ||||
|     ) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer