I have the following snippets from files:
permissions.py
def login_required(func): @wraps(func) def login_check(*args, **kwargs): print