aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/views/dashboard.py
diff options
context:
space:
mode:
authorDennis Fink2026-11-16 16:21:51 +0100
committerDennis Fink2026-11-16 16:21:51 +0100
commit09353e2fd7a66987076f33f65ac4f0fc8831e887 (patch)
tree3b2aea952518022a4cd57268b86cf73507ab3440 /webmentions_ssg/views/dashboard.py
parent335c27571fa1856a6b775ff51d69d1590273a965 (diff)
downloadwebmentions-ssg-09353e2fd7a66987076f33f65ac4f0fc8831e887.tar.gz
webmentions-ssg-09353e2fd7a66987076f33f65ac4f0fc8831e887.zip
fix(core): restrict migrate CLI to development
Hide Flask-Migrate's unrestricted command group unless `WEBMENTIONS_SSG_DEV` is enabled, while keeping the guarded database management commands available. Base migration CLI exposure on the development environment flag rather than the selected configuration class.
Diffstat (limited to 'webmentions_ssg/views/dashboard.py')
0 files changed, 0 insertions, 0 deletions