mybuddy/babybuddy/settings/eb.py

20 lines
474 B
Python
Raw Normal View History

from .base import *
2017-11-16 15:57:49 +00:00
ALLOW_UPLOADS = os.environ.get('ALLOW_UPLOADS', False)
2017-11-16 15:57:49 +00:00
# Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
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'],
}
}