diff --git a/evennia/server/deprecations.py b/evennia/server/deprecations.py index 45eefd160b..6cf3ab1af7 100644 --- a/evennia/server/deprecations.py +++ b/evennia/server/deprecations.py @@ -115,3 +115,7 @@ def check_warnings(settings): print(" [Devel: settings.IN_GAME_ERRORS is True. Turn off in production.]") if settings.ALLOWED_HOSTS == ["*"]: print(" [Devel: settings.ALLOWED_HOSTS set to '*' (all). Limit in production.]") + for k,v in settings.DATABASES.items(): + if "psycopg" in v.get("ENGINE",None): + print(" [Devel: postgresql_psycopg2 backend is deprecated. This module is now called postgresql") + print(" Switch settings.DATABASES to use \"ENGINE\": \"django.db.backends.postgresql\"")