增加数据库迁移命令和数据库初始化命令,分离schemas

This commit is contained in:
mkg
2021-06-12 23:05:30 +08:00
parent 5e08f3e49b
commit 14a32e6d3c
35 changed files with 198 additions and 174 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
from flask import Blueprint
index_bp = Blueprint('Index', __name__, url_prefix='/')
from applications.view.index.index import index_bp
def init_index_views(app):
+2 -2
View File
@@ -1,6 +1,6 @@
from flask import render_template
from flask import render_template, Blueprint
from . import index_bp
index_bp = Blueprint('Index', __name__, url_prefix='/')
@index_bp.route('/')