mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
(cherry picked from commit 1d411b26a9abdfc037509f6414e7b7234c9b4fc2) Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
This commit is contained in:
parent
af8f1c6bab
commit
eb7aba4dd8
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user