Skip to content

Commit

Permalink
go
Browse files Browse the repository at this point in the history
  • Loading branch information
ta-yahay committed Mar 9, 2024
1 parent 08c14b0 commit 0a327e1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions DjangoEHR/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,17 @@
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': BASE_DIR / 'db.sqlite3',
# }
# }
# }
# postgres://lab3database:'Mypassword3'@lab3server.postgres.database.azure.com:5432/lab3database
# }lab3database
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'lab3database',
'USER': 'lab3database@lab3server1',
'USER': 'lab3database',
'PASSWORD': 'Mypassword3',
# 'PASSWORD':os. getenv['DB_PASSWORD'],
'HOST': 'lab3server1.postgres.database.azure.com',
'HOST': 'lab3server.postgres.database.azure.com',
'PORT': '5432',
'OPTIONS':{'sslmode':'require'},
}
Expand Down

0 comments on commit 0a327e1

Please sign in to comment.