mirror of https://github.com/snachodog/mybuddy.git
22 lines
504 B
Python
22 lines
504 B
Python
import os
|
|
|
|
from .base import * # noqa: F401,F403
|
|
|
|
|
|
ALLOW_UPLOADS = os.environ.get('ALLOW_UPLOADS', False)
|
|
|
|
|
|
# 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'],
|
|
}
|
|
}
|