'Calls :meth:`instance.delete` as long as ``dry_run`` is not set.'

def delete_instance(self, instance, using_transactions=True, dry_run=False):

    self.before_delete_instance(instance, dry_run)
    if ((not using_transactions) and dry_run):
        pass
    else:
        instance.delete()
    self.after_delete_instance(instance, dry_run)
