streamlining

This commit is contained in:
Matthias 2021-11-17 01:46:12 +01:00
parent b563bbee00
commit a7279ce43e
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -283,11 +283,10 @@ class PluginAppConfig(AppConfig):
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()
# update urls # update urls to remove the apps from the site admin
self._update_urls() self._update_urls()
def _update_urls(self): def _update_urls(self):