mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove debug messages
This commit is contained in:
parent
d2a34b83c6
commit
65ff226b90
@ -229,7 +229,6 @@ class PluginAppConfig(AppConfig):
|
|||||||
elif a.app_name == 'plugin':
|
elif a.app_name == 'plugin':
|
||||||
integ_urls = get_integration_urls()
|
integ_urls = get_integration_urls()
|
||||||
urlpatterns[index] = url(f'^{settings.PLUGIN_URL}/', include((integ_urls, 'plugin')))
|
urlpatterns[index] = url(f'^{settings.PLUGIN_URL}/', include((integ_urls, 'plugin')))
|
||||||
print('done')
|
|
||||||
|
|
||||||
def _reload_apps(self, populate: bool = False):
|
def _reload_apps(self, populate: bool = False):
|
||||||
if populate:
|
if populate:
|
||||||
|
@ -58,11 +58,9 @@ class PluginConfig(models.Model):
|
|||||||
app = apps.get_app_config('plugin')
|
app = apps.get_app_config('plugin')
|
||||||
|
|
||||||
if self.active is False and self.__org_active is True:
|
if self.active is False and self.__org_active is True:
|
||||||
print('deactivated')
|
|
||||||
app.reload_plugins()
|
app.reload_plugins()
|
||||||
|
|
||||||
elif self.active is True and self.__org_active is False:
|
elif self.active is True and self.__org_active is False:
|
||||||
print('activated')
|
|
||||||
app.reload_plugins()
|
app.reload_plugins()
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
Loading…
Reference in New Issue
Block a user