paperless-ngx/src/paperless_text/apps.py

17 lines
361 B
Python
Raw Normal View History

2018-08-30 23:32:41 -04:00
from django.apps import AppConfig
from paperless_text.signals import text_consumer_declaration
2018-08-30 23:32:41 -04:00
class PaperlessTextConfig(AppConfig):
name = "paperless_text"
def ready(self):
from documents.signals import document_consumer_declaration
document_consumer_declaration.connect(text_consumer_declaration)
2018-08-30 23:32:41 -04:00
AppConfig.ready(self)