Skip to content

Commit

Permalink
Eliminate UserWarning of django-storage
Browse files Browse the repository at this point in the history
- Refer to jschneier/django-storages#535
- Set AWS_DEFAULT_ACL = None
  • Loading branch information
bowans committed Sep 20, 2018
1 parent fc67859 commit cd8bf1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsyc/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
MEDIA_URL = 'https://{}/{}/'.format(AWS_S3_CUSTOM_DOMAIN, AWS_MEDIA_LOCATION)
DEFAULT_FILE_STORAGE = 'tsyc.aws_storages.MediaStorage'

AWS_DEFAULT_ACL = None

try:
import django_heroku
Expand Down

0 comments on commit cd8bf1c

Please sign in to comment.