Merged the "accounting.database" module into the "accounting" module. It has only one member as "db", the database instance, and does not need to be separated into another file.

This commit is contained in:
2023-02-08 11:13:09 +08:00
parent e24ed61b99
commit d99f592cff
16 changed files with 22 additions and 67 deletions

View File

@ -23,7 +23,7 @@ import click
from flask.cli import with_appcontext
from accounting import data_dir
from accounting.database import db
from accounting import db
from accounting.models import BaseAccount, BaseAccountL10n

View File

@ -20,7 +20,7 @@
from flask import abort
from werkzeug.routing import BaseConverter
from accounting.database import db
from accounting import db
from accounting.models import BaseAccount