Skip to content

Commit

Permalink
Switched to Postgres db
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Corbel committed Dec 5, 2020
1 parent 86b5595 commit e1da64d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions mysite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,17 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'de3b1fg2ijqk5c',
'HOST': 'ec2-52-206-15-227.compute-1.amazonaws.com',
'PORT': 5432,
'USER': 'oyoxrxvkkwptab',
'PASSWORD': 'ff2b5a59d12bc66a0513304622e2b118cabb2e4a2324293de402349e2829ff64'
}
}

# postgres://oyoxrxvkkwptab:ff2b5a59d12bc66a0513304622e2b118cabb2e4a2324293de402349e2829ff64@ec2-52-206-15-227.compute-1.amazonaws.com:5432/de3b1fg2ijqk5c


# Password validation
# https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ oauthlib==3.1.0
opt-einsum==3.3.0
Pillow==8.0.1
protobuf==3.14.0
psycopg2==2.8.6
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==2.4.7
Expand Down

0 comments on commit e1da64d

Please sign in to comment.