Read "DEMO_MODE" into settings.py

This commit is contained in:
Oliver 2021-11-18 19:59:14 +11:00
parent 8a879832ee
commit 0dd3389518

View File

@ -92,6 +92,12 @@ DEBUG = _is_true(get_setting(
CONFIG.get('debug', True)
))
# Determine if we are running in "demo mode"
DEMO_MODE = _is_true(get_setting(
'INVENTREE_DEMO',
CONFIG.get('demo', False)
))
DOCKER = _is_true(get_setting(
'INVENTREE_DOCKER',
False