摘要:
from datetime import datetime from app import db # 会员 class User(db.Model): __tablename__ = "user" id = db.Column(db.Integer, primary_key=True) # 编号 n 阅读全文
摘要:
from datetime import datetime from app import db # 会员 class User(db.Model): __tablename__ = "user" id = db.Column(db.Integer, primary_key=True) # 编号 n 阅读全文
摘要:
1.新建目录结构 2.在蓝图模块admin下__init__.py加入以下(home同理) from flask import Blueprint admin = Blueprint('admin', __name__) from . import views 3.在蓝图模块admin下views. 阅读全文