from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _


class IcvSearchConfig(AppConfig):
    name = "icv_search"
    label = "icv_search"
    verbose_name = _("ICV Search")
    default_auto_field = "django.db.models.BigAutoField"

    def ready(self) -> None:
        from . import (
            checks,  # noqa: F401 — register system checks
            handlers,  # noqa: F401 — connect signal handlers
        )
        from .auto_index import connect_auto_index_signals

        connect_auto_index_signals()
