def reload(self):
        from_db = self.__class__.get_unfiltered_manager().get(pk=self.pk)
        for field in self.__class__._meta.fields:
            try:
                setattr(self, field.name, getattr(from_db, field.name))
            except models.ObjectDoesNotExist:
                # reload() can be called before cleaning up an object of stale
                # related fields, when we do soft-deletion for instance. Avoid
                # failing because of that.
                pass
        return self
Pretty status description for exited child.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/models.py/ModelBase.reload--crossover with--dataset/ETHPy150Open mpasternacki/django-sqs/django_sqs/management/commands/runreceiver.py/_status_string