mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
make plugin path a setting
This commit is contained in:
parent
fc3188513b
commit
ca1fce4cf3
@ -650,6 +650,8 @@ MESSAGE_TAGS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
|
PLUGIN_URL = 'plugin'
|
||||||
|
|
||||||
INTEGRATION_PLUGINS = inventree_plugins.load_integration_plugins()
|
INTEGRATION_PLUGINS = inventree_plugins.load_integration_plugins()
|
||||||
|
|
||||||
INTEGRATION_PLUGIN_SETTINGS = {}
|
INTEGRATION_PLUGIN_SETTINGS = {}
|
||||||
|
@ -179,7 +179,7 @@ urlpatterns = [
|
|||||||
url(r'^api-doc/', include_docs_urls(title='InvenTree API')),
|
url(r'^api-doc/', include_docs_urls(title='InvenTree API')),
|
||||||
|
|
||||||
# plugins
|
# plugins
|
||||||
url(r'^plugin/', include(interation_urls)),
|
url(f'^{settings.PLUGIN_URL}/', include(interation_urls)),
|
||||||
|
|
||||||
url(r'^markdownx/', include('markdownx.urls')),
|
url(r'^markdownx/', include('markdownx.urls')),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user