Skip to content

Commit

Permalink
Merge pull request #198 from bounswe/bounswe/backend/feature/remote_d…
Browse files Browse the repository at this point in the history
…b-#197

Django App Connection to the DB
  • Loading branch information
mehmetemreakbulut authored Oct 23, 2022
2 parents 9195702 + a6ac1f2 commit acda452
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'app',
'USER': 'postgres',
'PASSWORD': 'a1b2c3d4',
'HOST':'ec2-100-24-23-233.compute-1.amazonaws.com',
'PORT':'5432',
}
}

Expand Down

0 comments on commit acda452

Please sign in to comment.