diff --git a/InvenTree/InvenTree/ready.py b/InvenTree/InvenTree/ready.py index c0f7c25141c..a16b24ca1b3 100644 --- a/InvenTree/InvenTree/ready.py +++ b/InvenTree/InvenTree/ready.py @@ -32,7 +32,6 @@ def canAppAccessDatabase(allow_test: bool = False, allow_plugins: bool = False): 'prerender', 'rebuild_models', 'rebuild_thumbnails', - 'collectstatic', 'makemessages', 'compilemessages', 'backup', @@ -51,6 +50,7 @@ def canAppAccessDatabase(allow_test: bool = False, allow_plugins: bool = False): excluded_commands.extend([ 'makemigrations', 'migrate', + 'collectstatic', ]) for cmd in excluded_commands: