mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-06-14 03:05:28 +00:00
.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
11 lines
618 B
Markdown
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.
|