Merge pull request #1374 from svleeuwen/patch-1

Remove boto related settings that aren't used
This commit is contained in:
Bruno Alla 2018-02-16 21:19:35 +00:00 committed by GitHub
commit 3853094221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,8 +107,8 @@ AWS_EXPIRY = 60 * 60 * 24 * 7
# Revert the following and use str after the above-mentioned bug is fixed in
# either django-storage-redux or boto
control = 'max-age=%d, s-maxage=%d, must-revalidate' % (AWS_EXPIRY, AWS_EXPIRY)
AWS_HEADERS = {
'Cache-Control': bytes(control, encoding='latin-1')
AWS_S3_OBJECT_PARAMETERS = {
'CacheControl': bytes(control, encoding='latin-1'),
}
# URL that handles the media served from MEDIA_ROOT, used for managing