InvenTree/InvenTree/label
Oliver 633fbd37bd
Maintenance Mode Improvements (#6451)
* Custom migration step in tasks.py

- Add custom management command
- Wraps migration step in maintenance mode

* Rename custom management command to "runmigrations"

- Add command to isRunningMigrations

* Add new data checks

* Update database readiness checks

- Set maintenance mode while performing certain management commands

* Remove unused import

* Re-add syncdb command

* Log warning msg

* Catch another potential error vector
2024-02-08 12:47:49 +11:00
..
migrations Label plugin refactor (#5251) 2023-07-17 21:39:53 +10:00
templates/label Label sheet printer (#5883) 2023-11-09 09:00:23 +11:00
__init__.py Add "label" app 2020-08-16 09:28:12 +10:00
admin.py [CI] docstrings (#6172) 2024-01-11 14:40:07 +11:00
api.py Label printing errors (#6450) 2024-02-08 11:37:06 +11:00
apps.py Maintenance Mode Improvements (#6451) 2024-02-08 12:47:49 +11:00
models.py [Plugin] Enhanced custom validation (#6410) 2024-02-06 22:00:22 +11:00
serializers.py [CI] docstrings (#6172) 2024-01-11 14:40:07 +11:00
tasks.py [CI] docstrings (#6172) 2024-01-11 14:40:07 +11:00
test_api.py Add tests for report API (#6214) 2024-01-17 06:55:55 +11:00
tests.py [CI] docstrings (#6172) 2024-01-11 14:40:07 +11:00