paperless-ngx/src/documents/apps.py

17 lines
395 B
Python
Raw Normal View History

2015-12-20 19:23:33 +00:00
from django.apps import AppConfig
class DocumentsConfig(AppConfig):
name = "documents"
def ready(self):
from .signals import document_consumption_finished
from .signals.handlers import set_correspondent, set_tags
document_consumption_finished.connect(set_tags)
document_consumption_finished.connect(set_correspondent)
AppConfig.ready(self)