浏览代码

app register manages app

weichen 3 年之前
父节点
当前提交
99f57d5342
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      models/__init__.py

+ 4 - 1
models/__init__.py

@@ -10,7 +10,10 @@ def create_app():
     app.config['SECRET_KEY'] = SECRET_KEY
 
     from models.contents.routes import contents_app
-
+    from models.manages.routes import manages_app
+    
     app.register_blueprint(contents_app)
 
+    app.register_blueprint(manages_app)
+
     return app