mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
do not write to db
This commit is contained in:
parent
3606bd8fe4
commit
eef51600c5
@ -32,7 +32,7 @@ class PluginAppConfig(AppConfig):
|
|||||||
# this is the first startup
|
# this is the first startup
|
||||||
try:
|
try:
|
||||||
from common.models import InvenTreeSetting
|
from common.models import InvenTreeSetting
|
||||||
if InvenTreeSetting.get_setting('PLUGIN_ON_STARTUP'):
|
if InvenTreeSetting.get_setting('PLUGIN_ON_STARTUP', create=False):
|
||||||
# make sure all plugins are installed
|
# make sure all plugins are installed
|
||||||
registry.install_plugin_file()
|
registry.install_plugin_file()
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user