Skip to content

Commit

Permalink
Load plugins for collectstatic (#4077)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolflu05 committed Dec 18, 2022
1 parent 8159ea3 commit 1d411b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InvenTree/InvenTree/ready.py
Original file line number Diff line number Diff line change
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 1d411b2

Please sign in to comment.