RuntimeError: Working outside of request context.when adding a new decorator

前端 未结 0 1026
梦谈多话
梦谈多话 2020-12-18 03:50

I\'m working on a minimalistic website using flask. I\'ve build a decorator to handle access (@login_required)

def login_required(f):
@wraps(f)
def login_requ         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题