mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	and print
This commit is contained in:
		| @@ -47,6 +47,7 @@ class LabelConfig(AppConfig): | |||||||
|         try: |         try: | ||||||
|             from .models import StockLocationLabel |             from .models import StockLocationLabel | ||||||
|             obj = StockLocationLabel.objects.first() |             obj = StockLocationLabel.objects.first() | ||||||
|  |             print(obj) | ||||||
|         except AppRegistryNotReady: |         except AppRegistryNotReady: | ||||||
|             # Database might not yet be ready |             # Database might not yet be ready | ||||||
|             warnings.warn('Database was not ready for creating labels') |             warnings.warn('Database was not ready for creating labels') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user