mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 06:46:31 +01:00
Added deprecation warning
This commit is contained in:
parent
90db149a28
commit
47eb743461
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