Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhonas committed Dec 18, 2022
1 parent 0f8b692 commit eb63f4a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@


# python virtual environments
env
fenv
venv
15 changes: 15 additions & 0 deletions backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,21 @@
)
}

# https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-rds.html#python-rds-connect
# import os

# if 'RDS_HOSTNAME' in os.environ:
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql',
# 'NAME': os.environ['RDS_DB_NAME'],
# 'USER': os.environ['RDS_USERNAME'],
# 'PASSWORD': os.environ['RDS_PASSWORD'],
# 'HOST': os.environ['RDS_HOSTNAME'],
# 'PORT': os.environ['RDS_PORT'],
# }
# }


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

0 comments on commit eb63f4a

Please sign in to comment.