mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
clear settings reliably
This commit is contained in:
parent
84a675ae39
commit
d2a34b83c6
@ -166,6 +166,9 @@ class PluginAppConfig(AppConfig):
|
|||||||
# remove settings
|
# remove settings
|
||||||
for setting in plugin_settings:
|
for setting in plugin_settings:
|
||||||
InvenTreeSetting.GLOBAL_SETTINGS.pop(setting)
|
InvenTreeSetting.GLOBAL_SETTINGS.pop(setting)
|
||||||
|
|
||||||
|
# clear cache
|
||||||
|
settings.INTEGRATION_PLUGIN_GLOBALSETTING = {}
|
||||||
# endregion
|
# endregion
|
||||||
|
|
||||||
# region integration_app
|
# region integration_app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user