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 f5de43f commit 44a056bCopy full SHA for 44a056b
azureproject/production.py
@@ -1,8 +1,8 @@
1
import os
2
3
-# DATABASE_URI = 'postgresql+psycopg2://{dbuser}:{dbpass}@{dbhost}/{dbname}'.format(
4
-# dbuser=os.getenv('AZURE_POSTGRESQL_USER'),
5
-# dbpass=os.getenv('AZURE_POSTGRESQL_PASSWORD'),
6
-# dbhost=os.getenv('AZURE_POSTGRESQL_HOST'),
7
-# dbname=os.getenv('AZURE_POSTGRESQL_NAME')
8
-# )
+DATABASE_URI = 'postgresql+psycopg2://{dbuser}:{dbpass}@{dbhost}/{dbname}'.format(
+ dbuser=os.getenv('AZURE_POSTGRESQL_USER'),
+ dbpass=os.getenv('AZURE_POSTGRESQL_PASSWORD'),
+ dbhost=os.getenv('AZURE_POSTGRESQL_HOST'),
+ dbname=os.getenv('AZURE_POSTGRESQL_NAME')
+ )
0 commit comments