2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-27 21:26:43 +00:00

Add internal link

This commit is contained in:
Matthias Mair 2022-05-25 23:10:04 +02:00
parent 02ee6847c0
commit 2dc8e81511
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -36,7 +36,7 @@ If you want to make your life easier, try to follow these guidelines; break wher
- keep it simple - more that 1000 LOC are normally to much for a plugin
- use mixins where possible - we try to keep coverage high for them so they are not likely to break
- do not use internal functions - if a functions name starts with `_` it is internal and might change at any time
- keep you imports clean - the APIs for plugins and mixins are young and evolving. Use
- keep you imports clean - the APIs for plugins and mixins are young and evolving (see [here](plugins.md#imports)). Use
```
from plugin import InvenTreePlugin, registry
from plugin.mixins import APICallMixin, SettingsMixin, ScheduleMixin, BarcodeMixin