From 295c849447576610e339f243bd847c014cf7ea7b Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 19 May 2022 00:26:59 +0200 Subject: [PATCH] and print --- InvenTree/label/apps.py | 1 + 1 file changed, 1 insertion(+) 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')