from .base import *

DEBUG = True

WSGI_APPLICATION = 'config.wsgi.dev.application'

secrets = json.load(open(os.path.join(SECRETS_DIR, 'dev.json')))

ALLOWED_HOSTS = secrets['ALLOWED_HOSTS']

DATABASES = secrets['DATABASES']

# django-storages
DEFAULT_FILE_STORAGE = 'config.storages.MediaStorage'

STATICFILES_STORAGE = 'config.storages.StaticStorage'
# 길영님한테 물어보기[추가된 코드]
AWS_DEFAULT_ACL = None

AWS_ACCESS_KEY_ID = secrets['AWS_ACCESS_KEY_ID']
AWS_SECRET_ACCESS_KEY = secrets['AWS_SECRET_ACCESS_KEY']
AWS_STORAGE_BUCKET_NAME = secrets['AWS_STORAGE_BUCKET_NAME']


INSTALLED_APPS += [
    'django_extensions',
]