Ver Fonte

app register blueprint

weichen há 3 anos atrás
pai
commit
74fdcb8a2a
1 ficheiros alterados com 5 adições e 2 exclusões
  1. 5 2
      models/__init__.py

+ 5 - 2
models/__init__.py

@@ -11,9 +11,12 @@ def create_app():
 
     from models.contents.routes import contents_app
     from models.manages.routes import manages_app
-    
-    app.register_blueprint(contents_app)
+    from models.store_locations.routes import store_locations_app
+    from models.statics.routes import statics_app
 
+    app.register_blueprint(contents_app)
     app.register_blueprint(manages_app)
+    app.register_blueprint(store_locations_app)
+    app.register_blueprint(statics_app)
 
     return app