def ready(self): from documents.signals import document_consumer_declaration document_consumer_declaration.connect(tesseract_consumer_declaration) AppConfig.ready(self)
def ready(self): from documents.signals import document_consumer_declaration from .signals import ConsumerDeclaration document_consumer_declaration.connect(ConsumerDeclaration.handle) AppConfig.ready(self)
def ready(self): from documents.signals import document_consumer_declaration if settings.PAPERLESS_TIKA_ENABLED: document_consumer_declaration.connect(tika_consumer_declaration) AppConfig.ready(self)