diff --git a/apis_core/apis_metainfo/apps.py b/apis_core/apis_metainfo/apps.py index 5d76628e7..7129210f5 100644 --- a/apis_core/apis_metainfo/apps.py +++ b/apis_core/apis_metainfo/apps.py @@ -1,6 +1,16 @@ from django.apps import AppConfig +from django.conf import settings +import logging + +logger = logging.getLogger(__name__) class MetainfoConfig(AppConfig): default_auto_field = "django.db.models.AutoField" name = "apis_core.apis_metainfo" + + def ready(self): + if getattr(settings, "APIS_BASE_URI", None) is None: + logger.warning( + "You should set the APIS_BASE_URI setting - we are using https://example.org as a fallback!" + )