Browse Source

Reminder

upgrade-sapl
Edward Ribeiro 2 months ago
parent
commit
5051281889
  1. 1
      sapl/settings.py

1
sapl/settings.py

@ -253,6 +253,7 @@ DATABASES = {
def setup_db_tz():
### TODO: dj-database-url now supports CONN_MAX_AGE and OPTIONS
db = DATABASES["default"]
# Normalize legacy engine alias returned by old dj-database-url
if db.get("ENGINE") == "django.db.backends.postgresql_psycopg2":

Loading…
Cancel
Save