2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-01 21:55:43 +00:00
Files
InvenTree/InvenTree/plugin/mixins/__init__.py
Matthias Mair 1b8ad70fb6 [FR] Refactor plugin registry (#4340)
* add mixin order ref

* move import

* fix import order

* reorder import

* move activation/deactivation to mixins

* move loaded/unloaded mixins out into seperate modules

* fix deactivation sequence

* switch to classmethods for loading

* only run (de)activation if defined for mixin
Fixes #4184

* fix deactivating

* move reloading back to registry

* fix merge error

* move app mixin deactivation

* fix migration reloading

* reverse deactivation sequence

* Revert "reverse deactivation sequence"

This reverts commit aff17dd07d.
2023-04-19 20:54:42 +10:00

1.2 KiB