From eb7aba4dd8281b39860a23343a801021a00b35dd Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 19 Dec 2022 11:59:36 +1100 Subject: [PATCH] Load plugins for collectstatic (#4077) (#4078) (cherry picked from commit 1d411b26a9abdfc037509f6414e7b7234c9b4fc2) Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com> --- InvenTree/InvenTree/ready.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/ready.py b/InvenTree/InvenTree/ready.py index c0f7c25141..a16b24ca1b 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: