aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/extensions.py
diff options
context:
space:
mode:
authorDennis Fink2026-11-12 22:56:07 +0100
committerDennis Fink2026-11-12 22:56:07 +0100
commita10b29ac98ba535a5c2f9697c54265edd2c84a78 (patch)
treef116a58be6e241a11d283683070ebb18c96aa8e4 /webmentions_ssg/extensions.py
parent1db6b47f88dde5538efa433328987c70eab74d70 (diff)
downloadwebmentions-ssg-a10b29ac98ba535a5c2f9697c54265edd2c84a78.tar.gz
webmentions-ssg-a10b29ac98ba535a5c2f9697c54265edd2c84a78.zip
refactor(core): use lowercase extension names
Rename shared Flask extension singletons to conventional lowercase names and update imports throughout the application and tests to remove redundant aliases.
Diffstat (limited to 'webmentions_ssg/extensions.py')
-rw-r--r--webmentions_ssg/extensions.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/webmentions_ssg/extensions.py b/webmentions_ssg/extensions.py
index 0afec9c..c1cf396 100644
--- a/webmentions_ssg/extensions.py
+++ b/webmentions_ssg/extensions.py
@@ -20,10 +20,10 @@ class Base(DeclarativeBase):
pass
-CSRF = CSRFProtect()
-BOOTSTRAP = Bootstrap5()
-DATABASE = SQLAlchemy(model_class=Base)
-MIGRATE = Migrate()
-HUEY = Huey()
-MAIL = Mail()
-LIMITER = Limiter(key_func=get_remote_address)
+csrf = CSRFProtect()
+bootstrap = Bootstrap5()
+db = SQLAlchemy(model_class=Base)
+migrate = Migrate()
+huey = Huey()
+mail = Mail()
+limiter = Limiter(key_func=get_remote_address)