def public(func):
    """Do not require authentication on given view method."""
    msg = '*Does not require authentication*\n'
    doc = func.__doc__
    prefix = doc[:len(doc) - len(doc.lstrip())]
    func.__doc__ = prefix + msg + doc
    func.needs_auth = False
    return func
