2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-08 00:55:41 +00:00
Files
InvenTree/InvenTree/plugin/plugin.py
Oliver b98ae25583 Allow plugin loading from external directory (#3364)
* Load custom plugin directories

* Allow plugins to be loaded from an external directory

* Handle exception when path is not relative to base path

* Fix typo

* Use pathlib

* Move plugin directory code into registry.py

- Allows us to reload plugins without having to reload the server itself

Co-authored-by: Matthias Mair <code@mjmair.com>
2022-07-26 14:35:01 +10:00

9.4 KiB