From 6d294183645a653c934bb54b188e7012d66eec41 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 21 Jun 2021 17:03:00 +1000 Subject: [PATCH] Prevent "rebuild" command from running certain things --- InvenTree/InvenTree/ready.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/InvenTree/ready.py b/InvenTree/InvenTree/ready.py index 9e64a2e6c7..4acbcae9af 100644 --- a/InvenTree/InvenTree/ready.py +++ b/InvenTree/InvenTree/ready.py @@ -33,6 +33,7 @@ def canAppAccessDatabase(): 'createsuperuser', 'wait_for_db', 'prerender', + 'rebuild', 'collectstatic', 'makemessages', 'compilemessages',