Skip to content

Commit

Permalink
Load plugins for collectstatic (#4077) (#4078)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1d411b2)

Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
  • Loading branch information
SchrodingersGat and wolflu05 committed Dec 19, 2022
1 parent af8f1c6 commit eb7aba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InvenTree/InvenTree/ready.py
Expand Up @@ -32,7 +32,6 @@ def canAppAccessDatabase(allow_test: bool = False, allow_plugins: bool = False):
'prerender',
'rebuild_models',
'rebuild_thumbnails',
'collectstatic',
'makemessages',
'compilemessages',
'backup',
Expand All @@ -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:
Expand Down

0 comments on commit eb7aba4

Please sign in to comment.