def get_all_expired(self, expires):
        return self.filter(date_done__lt=now() - maybe_timedelta(expires))
Get all expired task results.
dataset/ETHPy150Open celery/django-celery/djcelery/managers.py/ResultManager.get_all_expired