mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
testing safe url checks
This commit is contained in:
parent
487ac594bb
commit
5dd36c7587
@ -127,7 +127,7 @@ translated_javascript_urls = [
|
||||
|
||||
# Integration plugin urls
|
||||
interation_urls = []
|
||||
if InvenTreeSetting.get_setting('ENABLE_PLUGINS_URL'):
|
||||
if settings.TESTING or InvenTreeSetting.get_setting('ENABLE_PLUGINS_URL'):
|
||||
for plugin in settings.INTEGRATION_PLUGINS.values():
|
||||
if plugin.mixin_enabled('urls'):
|
||||
interation_urls.append(plugin.urlpatterns)
|
||||
|
Loading…
Reference in New Issue
Block a user