Load plugins for collectstatic (#4077)

This commit is contained in:
Lukas authored and GitHub committed 2022-12-19 10:00:41 +11:00
1 parent 8159ea3c02
commit 1d411b26a9
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,6 @@ def canAppAccessDatabase(allow_test: bool = False, allow_plugins: bool = False):
'prerender', 'prerender',
'rebuild_models', 'rebuild_models',
'rebuild_thumbnails', 'rebuild_thumbnails',
'collectstatic',
'makemessages', 'makemessages',
'compilemessages', 'compilemessages',
'backup', 'backup',
@@ -51,6 +50,7 @@ def canAppAccessDatabase(allow_test: bool = False, allow_plugins: bool = False):
excluded_commands.extend([ excluded_commands.extend([
'makemigrations', 'makemigrations',
'migrate', 'migrate',
'collectstatic',
]) ])
for cmd in excluded_commands: for cmd in excluded_commands: