mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-25 01:03:07 +00:00
Edit plugin settings via the "settings" display
This commit is contained in:
1 parent
dc9e25ebad
commit
928b90a833
4 files changed
+24
-16
No files matched your search
@@ -113,6 +113,12 @@ class PluginSetting(common.models.BaseInvenTreeSetting):
|
||||
('plugin', 'key'),
|
||||
]
|
||||
|
||||
def clean(self, **kwargs):
|
||||
|
||||
kwargs['plugin'] = self.plugin
|
||||
|
||||
super().clean(**kwargs)
|
||||
|
||||
"""
|
||||
We override the following class methods,
|
||||
so that we can pass the plugin instance
|
||||
|
||||
Reference in new issue
Block a user