Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>
Rig up all the core blueprints
core/app.py | 10 ++++++++--
diff --git a/core/app.py b/core/app.py index cdd91370e66b7d50d943e784b00c6bd44ee02ba4..50253f4d3c3149962f029b181a812e9370ee8683 100644 --- a/core/app.py +++ b/core/app.py @@ -28,11 +28,17 @@ @login_manager.user_loader def user_loader(user_id): return User.query.get(user_id) -from .blueprints.basic import basic -from .blueprints.auth import auth +from core.blueprints.basic import basic +from core.blueprints.auth import auth +from core.blueprints.groups import groups +from core.blueprints.product_categories import product_categories +from core.blueprints.products import pro as products app.register_blueprint(basic) app.register_blueprint(auth) +app.register_blueprint(groups) +app.register_blueprint(product_categories) +app.register_blueprint(products) @app.errorhandler(404) def handle_404(e):