Profile

User profile and story timeline

user-img
nyg

与用户认证系统相关的路由可在auth蓝本中定义。
auth蓝本保存在同名Python包中。蓝本的包构造文件创建蓝本对象,再从views.py模块中引入路由。
from flask import Blueprintauth = Blueprint ('auth',__name__) from . import views

回复