2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-06-14 03:05:28 +00:00
Files
.github
_includes
ci
docs
api
app
assets
barcodes
build
buy
extend
plugins
action.md
api.md
app.md
barcode.md
event.md
install.md
label.md
locate.md
navigation.md
panel.md
schedule.md
settings.md
urls.md
validation.md
how_to_plugin.md
integrate.md
plugins.md
themes.md
javascripts
part
releases
report
sell
settings
start
stock
stylesheets
webfonts
credits.md
demo.md
faq.md
features.md
hooks.py
index.md
privacy.md
terminology.md
.gitignore
LICENSE
README.md
main.py
mkdocs.yml
readthedocs.yml
requirements.txt
inventree-docs/docs/extend/plugins/app.md
Oliver 836b5bc741 Update plugin docs
- Create separate files for each mixin
- Remove old "report" plugin docs
2022-01-13 09:37:09 +11:00

11 lines
618 B
Markdown

---
title: App Mixin
---
## AppMixin
If this mixin is added to a plugin the directory the plugin class is defined in is added to the list of `INSTALLED_APPS` in the InvenTree server configuration.
!!! warning "Danger Zone"
Only use this mixin if you have an understanding of djangos [app system](https://docs.djangoproject.com/en/stable/ref/applications). Plugins with this mixin are deeply integrated into InvenTree and can cause difficult to reproduce or long-running errors. Use the built-in testing functions of django to make sure your code does not cause unwanted behaviour in InvenTree before releasing.