mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
mark restart required in the settings
This commit is contained in:
parent
e542a8f8e3
commit
c612cfcfba
@ -970,24 +970,28 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
|||||||
'description': _('Enable plugins to add URL routes'),
|
'description': _('Enable plugins to add URL routes'),
|
||||||
'default': False,
|
'default': False,
|
||||||
'validator': bool,
|
'validator': bool,
|
||||||
|
'requires_restart': True,
|
||||||
},
|
},
|
||||||
'ENABLE_PLUGINS_NAVIGATION': {
|
'ENABLE_PLUGINS_NAVIGATION': {
|
||||||
'name': _('Enable navigation integration'),
|
'name': _('Enable navigation integration'),
|
||||||
'description': _('Enable plugins to integrate into navigation'),
|
'description': _('Enable plugins to integrate into navigation'),
|
||||||
'default': False,
|
'default': False,
|
||||||
'validator': bool,
|
'validator': bool,
|
||||||
|
'requires_restart': True,
|
||||||
},
|
},
|
||||||
'ENABLE_PLUGINS_SETTING': {
|
'ENABLE_PLUGINS_SETTING': {
|
||||||
'name': _('Enable setting integration'),
|
'name': _('Enable setting integration'),
|
||||||
'description': _('Enable plugins to integrate into inventree settings'),
|
'description': _('Enable plugins to integrate into inventree settings'),
|
||||||
'default': False,
|
'default': False,
|
||||||
'validator': bool,
|
'validator': bool,
|
||||||
|
'requires_restart': True,
|
||||||
},
|
},
|
||||||
'ENABLE_PLUGINS_APP': {
|
'ENABLE_PLUGINS_APP': {
|
||||||
'name': _('Enable app integration'),
|
'name': _('Enable app integration'),
|
||||||
'description': _('Enable plugins to add apps'),
|
'description': _('Enable plugins to add apps'),
|
||||||
'default': False,
|
'default': False,
|
||||||
'validator': bool,
|
'validator': bool,
|
||||||
|
'requires_restart': True,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user