2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-12-20 02:53:18 +00:00

Improve plugins docs (#381)

* Add info about package discovery
Closes https://github.com/inventree/inventree-docs/issues/352#issuecomment-1286636837

* specifiy that the install must be in the venv

* Django should be capitalised
This commit is contained in:
Matthias Mair
2022-10-31 01:28:14 +01:00
committed by GitHub
parent 0ade52aa3b
commit 0603c57f75
2 changed files with 6 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ The InvenTree server code supports an extensible plugin architecture, allowing c
Plugins can be added from multiple sources:
- Plugins can be installed via PIP (python package manager)
- Plugins can be installed in InvenTrees venv via PIP (python package manager)
- Custom plugins should be placed in the directory `./InvenTree/plugins`.
- InvenTree built-in plugins are located in the directory `./InvenTree/plugin/builtin`.
@@ -91,7 +91,7 @@ The configuration entries must be enabled via the [InvenTree admin interface](..
### Plugin Mixins
Common use cases are covered by pre-supplied modules in the form of *mixins* (similar to how [django](https://docs.djangoproject.com/en/stable/topics/class-based-views/mixins/) does it). Each mixin enables the integration into a specific area of InvenTree. Sometimes it also enhances the plugin with helper functions to supply often used functions out-of-the-box.
Common use cases are covered by pre-supplied modules in the form of *mixins* (similar to how [Django](https://docs.djangoproject.com/en/stable/topics/class-based-views/mixins/) does it). Each mixin enables the integration into a specific area of InvenTree. Sometimes it also enhances the plugin with helper functions to supply often used functions out-of-the-box.
Supported mixin classes are: