Skip to content

Commit

Permalink
Implement Postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSangHan committed May 18, 2020
1 parent b9217a9 commit 9a07614
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -18,6 +18,7 @@ mccabe==0.6.1
oauthlib==3.0.1
pilkit==2.0
Pillow==6.2.0
psycopg2==2.8.5
pylint==2.3.1
python-dateutil==2.8.0
python3-openid==3.1.0
Expand Down
11 changes: 11 additions & 0 deletions snulion7th/settings.py
Expand Up @@ -110,6 +110,17 @@ def get_secret(setting, secrets=secrets):
}
}

# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.postgresql',
# 'HOST': get_secret('RDS_HOST'),
# 'PORT': '5432',
# 'NAME': get_secret('RDS_NAME'),
# 'USER': get_secret('RDS_USER'),
# 'PASSWORD': get_secret('RDS_PASSWORD')
# }
# }

# Password validation
# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators

Expand Down

0 comments on commit 9a07614

Please sign in to comment.