def empty(self):
    '\n        Remove all bids from bid basket.\n        '
    if self.pk:
        bids = self.bids.all()
        for bid in bids:
            if (not bid.is_locked()):
                bid.delete()
Remove all bids from bid basket.
def empty(self):
    '\n        \n        '
    if self.pk:
        bids = self.bids.all()
        for bid in bids:
            if (not bid.is_locked()):
                bid.delete()