From 002f5ec288a66c1f9744989f0657ec920b92da53 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 24 Apr 2022 16:12:01 +0200 Subject: [PATCH] move setting lower --- InvenTree/InvenTree/settings.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index b96705d6dc..1414be7fd9 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -67,13 +67,6 @@ DEMO_MODE = _is_true(get_setting( CONFIG.get('demo', False) )) -# user interface customization values -CUSTOMIZE = get_setting( - 'INVENTREE_CUSTOMIZE', - CONFIG.get('customize', {}), - {} -) - DOCKER = _is_true(get_setting( 'INVENTREE_DOCKER', False @@ -919,3 +912,11 @@ PLUGIN_TESTING = get_setting('PLUGIN_TESTING', TESTING) # are plugins beeing te PLUGIN_TESTING_SETUP = get_setting('PLUGIN_TESTING_SETUP', False) # load plugins from setup hooks in testing? PLUGIN_RETRY = get_setting('PLUGIN_RETRY', 5) # how often should plugin loading be tried? PLUGIN_FILE_CHECKED = False # Was the plugin file checked? + +# user interface customization values +CUSTOMIZE = get_setting( + 'INVENTREE_CUSTOMIZE', + CONFIG.get('customize', {}), + {} +) +