mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-31 10:37:12 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			385 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			385 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.apps import AppConfig
 | |
| from paperless_tesseract.signals import tesseract_consumer_declaration
 | |
| 
 | |
| 
 | |
| class PaperlessTesseractConfig(AppConfig):
 | |
| 
 | |
|     name = "paperless_tesseract"
 | |
| 
 | |
|     def ready(self):
 | |
| 
 | |
|         from documents.signals import document_consumer_declaration
 | |
| 
 | |
|         document_consumer_declaration.connect(tesseract_consumer_declaration)
 | |
| 
 | |
|         AppConfig.ready(self)
 |