def public(function):
    orig_func = function
    while isinstance(orig_func, partial):
        orig_func = orig_func.func
    set_view_func_public(orig_func)

    return function
Decorator for public views that do not require authentication
dataset/ETHPy150Open mgrouchy/django-stronghold/stronghold/decorators.py/public