Skip to content

apps

django_spire.history.activity.apps

HistoryActivityConfig

Bases: AppConfig

default_auto_field = 'django.db.models.BigAutoField' class-attribute instance-attribute

label = 'django_spire_history_activity' class-attribute instance-attribute

name = 'django_spire.history.activity' class-attribute instance-attribute

REQUIRED_APPS = ('django_spire_core', 'django_spire_history') class-attribute instance-attribute

ready

Source code in django_spire/history/activity/apps.py
def ready(self) -> None:
    check_required_apps(self.label)

    import django_spire.history.activity.checks  # noqa: F401, PLC0415

    from django_spire.history.activity.signals import connect_activity_signals  # noqa: PLC0415

    connect_activity_signals()