diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index ec2cc3f8ea..3a562745f9 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -922,9 +922,8 @@ CUSTOMIZE = get_setting( ) CUSTOM_LOGO = get_setting( - 'INVENTREE_LOGO', - CONFIG.get('logo', False), - False + 'INVENTREE_CUSTOM_LOGO', + CUSTOMIZE.get('logo', False) ) # check that the logo-file exsists in media diff --git a/InvenTree/config_template.yaml b/InvenTree/config_template.yaml index 69944cf894..8bb685f734 100644 --- a/InvenTree/config_template.yaml +++ b/InvenTree/config_template.yaml @@ -188,10 +188,10 @@ static_root: '/home/inventree/data/static' # Customization options # Add custom messages to the login page or main interface navbar or exchange the logo -# Use environment variable INVENTREE_CUSTOMIZE or INVENTREE_LOGO +# Use environment variable INVENTREE_CUSTOMIZE or INVENTREE_CUSTOM_LOGO # customize: # login_message: | # InvenTree demo instance - Click here for login details # navbar_message: | # InvenTree demo mode -# logo: logo.png +# logo: logo.png