def drop_quota(self): logger.info('Pruning all quotas on %s', self) Quota.del_quota(self.account)
def delete(self): if not self.can_delete(): raise ValueError(_(u'Acest serviciu nu se poate șterge')) Quota.del_quota(self.account) self.account.delete() super(Billable, self).delete()