from __future__ import annotations

from django.apps import AppConfig


class NotificationsConfig(AppConfig):
    default_auto_field = "django.db.models.BigAutoField"
    name = "simorgh.apps.notifications"
    label = "notifications"
    verbose_name = "Notifications"

    def ready(self) -> None:
        """App startup hook.

        Provider registration is intentionally lazy (happens on first SMS send
        via ``_ensure_providers_loaded()`` in ``sms/base.py``) to avoid DB
        access during ``AppConfig.ready()`` which triggers a Django 5 warning.
        """
        # Nothing to do here — providers are loaded lazily on first use.
        pass
