apps.py 615 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
1 2 3 4
from django.apps import AppConfig


class BackendAppConfig(AppConfig):
5
    name = "backend_app"
Florent Chehab's avatar
Florent Chehab committed
6 7

    def ready(self):
8 9 10
        from backend_app.signals.auto_creation import enable_auto_create
        from backend_app.signals.squash_revisions import enable_squash_revisions
        from backend_app.signals.update_nb_version import enable_update_nb_version
11 12 13
        from backend_app.signals.coherence_external_data import (
            enable_external_data_coherence,
        )
14 15 16 17

        enable_auto_create()
        enable_squash_revisions()
        enable_update_nb_version()
18
        enable_external_data_coherence()