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