mybuddy/babybuddy/settings/eb.py

20 lines
487 B
Python
Raw Normal View History

from .base import *
2017-11-16 15:57:49 +00:00
2017-12-01 23:07:08 +00:00
BABY_BUDDY['ALLOW_UPLOADS'] = os.environ.get('ALLOW_UPLOADS', False)
2017-11-16 15:57:49 +00:00
# Database
2020-01-19 16:49:45 +00:00
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases
2017-11-16 15:57:49 +00:00
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'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'],
}
}