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