From ef2124eb3129ea41abb27194255fe51e2040c9b7 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 16 Jun 2021 23:05:01 +1000 Subject: [PATCH] Update config.yaml example file --- _includes/config.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/_includes/config.yaml b/_includes/config.yaml index de09e37..0e6232d 100644 --- a/_includes/config.yaml +++ b/_includes/config.yaml @@ -11,7 +11,7 @@ database: # or specify database options using environment variables # Refer to the django documentation for full list of options - + # --- Available options: --- # ENGINE: Database engine. Selection from: # - sqlite3 @@ -52,6 +52,9 @@ language: en-us # Use the environment variable INVENTREE_TIMEZONE timezone: UTC +# Base currency code +base_currency: USD + # List of currencies supported by default. # Add other currencies here to allow use in InvenTree currencies: @@ -114,7 +117,7 @@ allowed_hosts: cors: # CORS_ORIGIN_ALLOW_ALL - If True, the whitelist will not be used and all origins will be accepted. allow_all: True - + # CORS_ORIGIN_WHITELIST - A list of origins that are authorized to make cross-site HTTP requests. Defaults to [] # whitelist: # - https://example.com @@ -126,9 +129,9 @@ cors: media_root: '/home/inventree/data/media' # STATIC_ROOT is the local filesystem location for storing static files -# By default, it is stored under /home/inventree +# By default, it is stored under /home/inventree/data/static # Use environment variable INVENTREE_STATIC_ROOT -static_root: '/home/inventree/static' +static_root: '/home/inventree/data/static' # Optional URL schemes to allow in URL fields # By default, only the following schemes are allowed: ['http', 'https', 'ftp', 'ftps']