def login_notrequired(func):
 func.login_notrequired = True
 return func

def login_notrequired ( func ) : func . login_notrequired = True return func
a decorator for view functions to allow access without login .