Skip to content

Commit

Permalink
azure database compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
eethansmith committed Nov 30, 2023
1 parent 32debfc commit 6172ec7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions backend/investmentportfolio/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'eethansmith-investmentportfolio-database',
'USER': 'kkupfurluc',
'PASSWORD': '1FQ6E653770138EP$',
'HOST': 'Azure-DevOps-PostgreSQL-Server.postgres.database.azure.com',
'PORT': '5432', # default postgres port
}
}

Expand Down

0 comments on commit 6172ec7

Please sign in to comment.