def done(item, done_type=None, max_tries=None, ttl=None):
    if done_type is None or done_type == _c.FSQ_SUCCESS:
        return success(item)
    return fail(item, fail_type=done_type, max_tries=max_tries, ttl=ttl)
Displays a form that can recover a deleted model.
dataset/ETHPy150Open axialmarket/fsq/fsq/done.py/done--crossover with--dataset/ETHPy150Open etianen/django-reversion/src/reversion/admin.py/VersionAdmin.recover_view