We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70eda27 commit 2d08291Copy full SHA for 2d08291
azureproject/production.py
@@ -9,7 +9,6 @@
9
# Configure Postgres database based on connection string of the libpq Keyword/Value form
10
# https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
11
conn_str = os.environ['AZURE_POSTGRESQL_CONNECTIONSTRING']
12
-#conn_str= 'dbname=msdocs-python-postgres-psfdj-database host=msdocs-python-postgres-psfdj-server.postgres.database.azure.com port=5432 sslmode=require user=bazbufjyde password=PASSWORD$'
13
conn_str_params = {pair.split('=')[0]: pair.split('=')[1] for pair in conn_str.split(' ')}
14
15
DATABASE_URI = 'postgresql+psycopg2://{dbuser}:{dbpass}@{dbhost}/{dbname}'.format(
0 commit comments