Sfoglia il codice sorgente

register home, blogs to app

weichen 4 anni fa
parent
commit
80c5a8a345
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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