Commit graph

8 commits

Author SHA1 Message Date
Chris Moultrie f8e60f4a89
Enable Azure BlobStorage as an alternative to AWS S3
This adds a new storage backend for Azure BlobStorage, I'm running this patch in Azure Kubernetes
hosting all my assets in Azure BlobStorage and it's been stable enough I thought I should commit
this back upstream.
2023-03-05 12:08:16 -05:00
Joachim cd1a1b2e67 Fix R1725: Consider using Python 3 style super() without arguments 2021-08-04 11:58:53 +02:00
Joachim bf3175f8d5 lint 2021-08-04 11:51:41 +02:00
Joachim 14c606301c Fixes "I/O Operation on Closed File error"
https://github.com/matthewwithanm/django-imagekit/issues/391#issuecomment-766708283
2021-08-04 10:28:59 +02:00
Joachim 582c2d4f25 Fix Python formating 2021-06-19 12:04:30 +02:00
Joachim 8af13e5f7d Fix for pylint 2021-06-19 12:01:41 +02:00
Joachim 715cb46e1e Lint 2021-06-07 18:15:48 +02:00
Joachim cba34780d8 Use S3 as static and media storage
TODO

- [ ] Write some documentation for non-AWS, S3-compatible services
- [ ] Make a management command to move existing media to the new S3 bucket
- [ ] See if Nginx can reverse-proxy the S3 bucket in order to keep the files accessible through the domain name
2021-06-07 18:12:48 +02:00