mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-19 11:16:31 +00:00
add mixins to API
This commit is contained in:
@@ -52,6 +52,10 @@ class PluginConfig(models.Model):
|
||||
name += '(not active)'
|
||||
return name
|
||||
|
||||
# extra attributes form the registry
|
||||
def mixins(self):
|
||||
return self.plugin._mixinreg
|
||||
|
||||
# functions
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user