Parcourir la source

register home, blogs to app

weichen il y a 4 ans
Parent
commit
80c5a8a345
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      backstage/__init__.py

+ 4 - 0
backstage/__init__.py

@@ -9,8 +9,12 @@ def create_app():
 
     from backstage.collections.routes import collections_app
     from backstage.editor.routes import editor_app
+    from backstage.home.routes import home_app
+    from backstage.blogs.routes import blogs_app
 
     app.register_blueprint(collections_app)
     app.register_blueprint(editor_app)
+    app.register_blueprint(home_app)
+    app.register_blueprint(blogs_app)
 
     return app