diff --git a/InvenTree/label/apps.py b/InvenTree/label/apps.py index 54ae407cc1..1bc4f30b14 100644 --- a/InvenTree/label/apps.py +++ b/InvenTree/label/apps.py @@ -47,6 +47,7 @@ class LabelConfig(AppConfig): try: from .models import StockLocationLabel obj = StockLocationLabel.objects.first() + print(obj) except AppRegistryNotReady: # Database might not yet be ready warnings.warn('Database was not ready for creating labels')