mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Read "DEMO_MODE" into settings.py
This commit is contained in:
parent
8a879832ee
commit
0dd3389518
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user