diff --git a/src/accounting/__init__.py b/src/accounting/__init__.py index bbb7842..c03771f 100644 --- a/src/accounting/__init__.py +++ b/src/accounting/__init__.py @@ -68,6 +68,9 @@ def init_app(app: Flask, user_utils: AbstractUserUtils, from .utils import permission permission.init_app(bp, can_view_func, can_edit_func) + from .utils import next_uri + next_uri.init_app(bp) + from . import base_account base_account.init_app(app, bp) @@ -80,7 +83,4 @@ def init_app(app: Flask, user_utils: AbstractUserUtils, from . import transaction transaction.init_app(app, bp) - from .utils import next_uri - next_uri.init_app(bp) - app.register_blueprint(bp)