Added the base account detail page that shows its descendant accounts.

This commit is contained in:
imacat committed 2023-02-03 12:55:56 +08:00
1 parent cb0dea58f1
commit 9b22331a5a
6 files changed
+121 -8

No files matched your search

+3
View File
@@ -27,6 +27,9 @@ def init_app(app: Flask, bp: Blueprint) -> None:
:param app: The Flask application.
:return: None.
"""
from .converters import BaseAccountConverter
app.url_map.converters["baseAccount"] = BaseAccountConverter
from .views import bp as base_account_bp
bp.register_blueprint(base_account_bp, url_prefix="/base-accounts")