From 12207d115929e7e945fe2fc68dd5edc20a39967e Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Sun, 19 Jun 2022 13:22:24 +0100 Subject: [PATCH] Changed modules to extensions --- ref-test/app/{modules.py => extensions.py} | 0 ref-test/app/models/entry.py | 2 +- ref-test/app/models/test.py | 2 +- ref-test/app/models/user.py | 2 +- ref-test/app/tools/forms.py | 2 +- ref-test/main.py | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename ref-test/app/{modules.py => extensions.py} (100%) diff --git a/ref-test/app/modules.py b/ref-test/app/extensions.py similarity index 100% rename from ref-test/app/modules.py rename to ref-test/app/extensions.py diff --git a/ref-test/app/models/entry.py b/ref-test/app/models/entry.py index c1adfb6..4e528e4 100644 --- a/ref-test/app/models/entry.py +++ b/ref-test/app/models/entry.py @@ -1,4 +1,4 @@ -from ..modules import db, mail +from ..extensions import db, mail from ..tools.forms import JsonEncodedDict from ..tools.encryption import decrypt, encrypt from ..tools.logs import write diff --git a/ref-test/app/models/test.py b/ref-test/app/models/test.py index 6e3a072..95e2e78 100644 --- a/ref-test/app/models/test.py +++ b/ref-test/app/models/test.py @@ -1,4 +1,4 @@ -from ..modules import db +from ..extensions import db from ..tools.encryption import decrypt, encrypt from ..tools.forms import JsonEncodedDict from ..tools.logs import write diff --git a/ref-test/app/models/user.py b/ref-test/app/models/user.py index a1f22c6..a1cec1d 100644 --- a/ref-test/app/models/user.py +++ b/ref-test/app/models/user.py @@ -1,4 +1,4 @@ -from ..modules import db, mail +from ..extensions import db, mail from ..tools.encryption import decrypt, encrypt from ..tools.logs import write diff --git a/ref-test/app/tools/forms.py b/ref-test/app/tools/forms.py index ab9daf4..cef280d 100644 --- a/ref-test/app/tools/forms.py +++ b/ref-test/app/tools/forms.py @@ -1,5 +1,5 @@ -from ..modules import db +from ..extensions import db from wtforms.validators import ValidationError diff --git a/ref-test/main.py b/ref-test/main.py index 08ab07f..e66e134 100644 --- a/ref-test/main.py +++ b/ref-test/main.py @@ -1,6 +1,6 @@ from app.config import Development as Config 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.logs import write