<s> import os <EOL> DEFAULT_FILE_STORAGE = '<STR_LIT>' <EOL> STATICFILES_STORAGE = '<STR_LIT>' <EOL> try : <EOL> AWS_ACCESS_KEY_ID = os . environ [ '<STR_LIT>' ] <EOL> AWS_SECRET_ACCESS_KEY = os . environ [ '<STR_LIT>' ] <EOL> AWS_STORAGE_BUCKET_NAME = os . environ [ '<STR_LIT>' ] <EOL> except KeyError : <EOL> raise KeyError ( '<STR_LIT>' + <EOL> '<STR_LIT>' ) <EOL> AWS_S3_FILE_OVERWRITE = False <EOL> MEDIA_ROOT = '<STR_LIT>' <EOL> MEDIA_URL = '<STR_LIT>' % AWS_STORAGE_BUCKET_NAME <EOL> STATIC_ROOT = '<STR_LIT>' <EOL> STATIC_URL = '<STR_LIT>' % AWS_STORAGE_BUCKET_NAME <EOL> ADMIN_MEDIA_PREFIX = STATIC_URL + '<STR_LIT>' </s>
