mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
ensure module
This commit is contained in:
parent
d363063add
commit
8fb6d7723b
@ -133,7 +133,7 @@ interation_urls = []
|
|||||||
for plugin in integration_plugins:
|
for plugin in integration_plugins:
|
||||||
# initialize
|
# initialize
|
||||||
plugin = plugin()
|
plugin = plugin()
|
||||||
if plugin.has_urls:
|
if plugin.module('urls') and plugin.has_urls:
|
||||||
interation_urls.append(plugin.urlpatterns)
|
interation_urls.append(plugin.urlpatterns)
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
Loading…
Reference in New Issue
Block a user