mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 07:27:17 +02:00
Added deprecation warning
This commit is contained in:
parent
623d780347
commit
6118966c28
1 changed files with 4 additions and 0 deletions
|
|
@ -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\"")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue