from django.apps import AppConfig


class PublicApiConfig(AppConfig):
    default_auto_field = 'django.db.models.BigAutoField'
    name = 'smoothschedule.public_api'
    verbose_name = 'Public API'

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