postgres://YourUserName:YourPassword@YourHostname:5432/YourDatabaseName
Host=<host>;Port=<port(default port=5432)>;Database=<db name>;Username=<username>; Password=<your password>;
User ID=root;Password=myPassword;Host=localhost;Port=5432;Database=myDataBase;Pooling=true;Min Pool Size=0;Max Pool Size=100;Connection Lifetime=0;
CONNECTION_STRING="postgresql://dbuser:dbpassword@localhost:5432/dbname"
# Parse database configuration from $DATABASE_URL
import dj_database_url
# DATABASES['default'] = dj_database_url.config()
#updated
DATABASES = {'default': dj_database_url.config(default='postgres://user:pass@localhost/dbname')}