Changed modules to extensions

This commit is contained in:
Vivek Santayana 2022-06-19 13:22:24 +01:00
parent ac02f4dee1
commit 12207d1159
6 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
from ..modules import db, mail from ..extensions import db, mail
from ..tools.forms import JsonEncodedDict from ..tools.forms import JsonEncodedDict
from ..tools.encryption import decrypt, encrypt from ..tools.encryption import decrypt, encrypt
from ..tools.logs import write from ..tools.logs import write

View File

@ -1,4 +1,4 @@
from ..modules import db from ..extensions import db
from ..tools.encryption import decrypt, encrypt from ..tools.encryption import decrypt, encrypt
from ..tools.forms import JsonEncodedDict from ..tools.forms import JsonEncodedDict
from ..tools.logs import write from ..tools.logs import write

View File

@ -1,4 +1,4 @@
from ..modules import db, mail from ..extensions import db, mail
from ..tools.encryption import decrypt, encrypt from ..tools.encryption import decrypt, encrypt
from ..tools.logs import write from ..tools.logs import write

View File

@ -1,5 +1,5 @@
from ..modules import db from ..extensions import db
from wtforms.validators import ValidationError from wtforms.validators import ValidationError

View File

@ -1,6 +1,6 @@
from app.config import Development as Config from app.config import Development as Config
from app.models import Entry, Dataset, Test, User from app.models import Entry, Dataset, Test, User
from app.modules import bootstrap, csrf, db, login_manager, mail from app.extensions import bootstrap, csrf, db, login_manager, mail
from app.tools.data import save from app.tools.data import save
from app.tools.logs import write from app.tools.logs import write