Exemple #1
0
 def drop_quota(self):
     logger.info('Pruning all quotas on %s', self)
     Quota.del_quota(self.account)
Exemple #2
0
 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()