mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-19 21:16:56 +01:00
17 lines
360 B
Python
17 lines
360 B
Python
|
|
from django.apps import AppConfig
|
||
|
|
|
||
|
|
|
||
|
|
class PaperlessTesseractConfig(AppConfig):
|
||
|
|
|
||
|
|
name = "paperless_tesseract"
|
||
|
|
|
||
|
|
def ready(self):
|
||
|
|
|
||
|
|
from documents.signals import document_consumer_declaration
|
||
|
|
|
||
|
|
from .signals import ConsumerDeclaration
|
||
|
|
|
||
|
|
document_consumer_declaration.connect(ConsumerDeclaration.handle)
|
||
|
|
|
||
|
|
AppConfig.ready(self)
|