mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-11 10:00:48 -05:00
17 lines
395 B
Python
17 lines
395 B
Python
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)
|