from django.apps import AppConfig


class PublicApiConfig(AppConfig):
    default_auto_field = 'django.db.models.BigAutoField'
    name = 'smoothschedule.platform.api'
    label = 'public_api'  # Keep old label for migration compatibility
    verbose_name = 'Public API'

    def ready(self):
        # Import signals when app is ready
        try:
            from . import signals  # noqa: F401
        except ImportError:
            pass
