diff options
| author | Dennis Fink | 2026-11-12 22:56:07 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-12 22:56:07 +0100 |
| commit | a10b29ac98ba535a5c2f9697c54265edd2c84a78 (patch) | |
| tree | f116a58be6e241a11d283683070ebb18c96aa8e4 /webmentions_ssg/extensions.py | |
| parent | 1db6b47f88dde5538efa433328987c70eab74d70 (diff) | |
| download | webmentions-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.py | 14 |
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) |
