2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-29 08:01:35 +00:00

Load plugins for collectstatic (#4077) (#4078)

(cherry picked from commit 1d411b26a9)

Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
This commit is contained in:
Oliver
2022-12-19 11:59:36 +11:00
committed by GitHub
parent af8f1c6bab
commit eb7aba4dd8

View File

@@ -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: