and print

This commit is contained in:
Matthias 2022-05-19 00:26:59 +02:00
parent 8dedf95a8d
commit 295c849447
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -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')