Skip to content

Commit

Permalink
🔧 ⚗ Allow overwriting S3 files
Browse files Browse the repository at this point in the history
to circumvent broken existance check
  • Loading branch information
Jannes Höke committed Dec 17, 2019
1 parent 22fd269 commit 8f98240
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@

AWS_S3_BUCKET_AUTH = False

# Enable S3 file overwriting as temp fix for django-s3-storage
# (uploading processed images)
AWS_S3_FILE_OVERWRITE = True

else:
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, STATIC_URL[1:])
Expand Down

0 comments on commit 8f98240

Please sign in to comment.