From 256f44b44ea19b10cf853e3e4ef182638c2bc3cf Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 11 Dec 2023 07:46:27 +1100 Subject: [PATCH] Handle "showmigrations" command (#6062) - If provided, do not load custom app ready code - Ref: https://github.com/inventree/InvenTree/issues/5804#issuecomment-1785562383 --- InvenTree/InvenTree/ready.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/InvenTree/ready.py b/InvenTree/InvenTree/ready.py index cc7c690965..c04a442cff 100644 --- a/InvenTree/InvenTree/ready.py +++ b/InvenTree/InvenTree/ready.py @@ -49,6 +49,7 @@ def canAppAccessDatabase(allow_test: bool = False, allow_plugins: bool = False, 'prerender', 'rebuild_models', 'rebuild_thumbnails', + 'showmigrations', 'makemessages', 'compilemessages', 'backup',