Delete all items in the basket

def destroy_basket(request):
    """Delete all items in the basket
    """
    items, bid = get_basket_items(request)
    for item in items:
        item.delete()
    return bid