From f6241031f60766f61861b6d72ae8f82d007ae156 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 17 Jun 2021 21:44:54 +1000 Subject: [PATCH] Typo fix for excluded commands (cherry picked from commit cf7087747b28c5ad3c900531cb09afb5884dfee6) --- InvenTree/InvenTree/ready.py | 3 +-- InvenTree/InvenTree/settings.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/InvenTree/InvenTree/ready.py b/InvenTree/InvenTree/ready.py index 5a4f1e9576..9e64a2e6c7 100644 --- a/InvenTree/InvenTree/ready.py +++ b/InvenTree/InvenTree/ready.py @@ -26,10 +26,9 @@ def canAppAccessDatabase(): 'flush', 'loaddata', 'dumpdata', - 'makemirations', + 'makemigrations', 'migrate', 'check', - 'mediarestore', 'shell', 'createsuperuser', 'wait_for_db', diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 208472ff2e..fceaf9a58f 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -97,7 +97,7 @@ DOCKER = _is_true(get_setting( # Configure logging settings log_level = get_setting( 'INVENTREE_LOG_LEVEL', - CONFIG.get('log_level', 'DEBUG') + CONFIG.get('log_level', 'WARNING') ) logging.basicConfig(