mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
turns out we needed that
This commit is contained in:
parent
e121ad374b
commit
0f321b8e83
@ -298,9 +298,11 @@ class PluginAppConfig(AppConfig):
|
|||||||
|
|
||||||
# remove plugin from installed_apps
|
# remove plugin from installed_apps
|
||||||
for plugin in settings.INTEGRATION_APPS_PATHS:
|
for plugin in settings.INTEGRATION_APPS_PATHS:
|
||||||
|
if plugin in settings.INSTALLED_APPS:
|
||||||
settings.INSTALLED_APPS.remove(plugin)
|
settings.INSTALLED_APPS.remove(plugin)
|
||||||
|
|
||||||
# reset load flag and reload apps
|
# reset load flag and reload apps
|
||||||
|
settings.INTEGRATION_APPS_PATHS = []
|
||||||
settings.INTEGRATION_APPS_LOADED = False
|
settings.INTEGRATION_APPS_LOADED = False
|
||||||
self._reload_apps()
|
self._reload_apps()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user