Make default port a string

Django can handle both strings and integers, but typeshed expects the
default value to match the mapping's value type.
This commit is contained in:
Maarten ter Huurne 2024-03-25 18:06:07 +01:00
parent 62cecfeb25
commit 441e3adee5

View file

@ -19,7 +19,7 @@ else:
"USER": os.environ.get("POSTGRES_USER", 'postgres'),
"PASSWORD": os.environ.get("POSTGRES_PASSWORD", ""),
"HOST": os.environ.get("POSTGRES_HOST", "localhost"),
"PORT": os.environ.get("POSTGRES_PORT", 5432)
"PORT": os.environ.get("POSTGRES_PORT", "5432")
},
}
SECRET_KEY = 'dummy'