mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
save db reference
This commit is contained in:
parent
7e478c332a
commit
ab2d758a38
@ -76,6 +76,7 @@ class PluginAppConfig(AppConfig):
|
|||||||
plugin = plugin()
|
plugin = plugin()
|
||||||
logger.info(f'Loaded integration plugin {plugin.slug}')
|
logger.info(f'Loaded integration plugin {plugin.slug}')
|
||||||
plugin.is_package = was_packaged
|
plugin.is_package = was_packaged
|
||||||
|
plugin.pk = plugin_db_setting.pk
|
||||||
|
|
||||||
# safe reference
|
# safe reference
|
||||||
settings.INTEGRATION_PLUGINS[plugin.slug] = plugin
|
settings.INTEGRATION_PLUGINS[plugin.slug] = plugin
|
||||||
|
Loading…
Reference in New Issue
Block a user