mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
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:
parent
62cecfeb25
commit
441e3adee5
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue