mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-02 05:26:45 +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)
|
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(
|
DOCKER = _is_true(get_setting(
|
||||||
'INVENTREE_DOCKER',
|
'INVENTREE_DOCKER',
|
||||||
False
|
False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user