2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Model introspection

- Find the class registered to the model (or log an error)
- Pass the api_url through to the frontend
This commit is contained in:
Oliver
2022-05-12 17:28:55 +10:00
parent e112d555d4
commit a81ea01e8e
6 changed files with 84 additions and 9 deletions

View File

@ -137,7 +137,7 @@ class PluginSetting(common.models.BaseInvenTreeSetting):
if 'settings' not in kwargs:
plugin = kwargs.pop('plugin')
plugin = kwargs.pop('plugin', None)
if plugin: