'Delete this application including all containers'

def delete(self, *args, **kwargs):

    try:
        self._destroy_containers([c for c in self.container_set.exclude(type=u'run')])
    except RuntimeError:
        pass
    self._clean_app_logs()
    return super(App, self).delete(*args, **kwargs)
