from django.apps import AppConfig


class AndreaSvcWebConfig(AppConfig):
    """The base as a Django app — solely so ready() can register the drf-spectacular auth-scheme
    extension (schema.py) for every service. No models."""

    name = "andrea_svc_web"
    verbose_name = "Andrea web-service base"

    def ready(self):
        from . import schema        # noqa: F401 — importing registers the OpenApiAuthenticationExtension
