django-minio-backend
django-minio-backend copied to clipboard
Minio Backend for Django
Related to #44
[Django 5.0 release notes](https://docs.djangoproject.com/en/5.0/releases/5.0/): > The django.utils.timezone.utc alias to datetime.timezone.utc is removed. logs: > ... > File "/usr/local/lib/python3.12/site-packages/django_minio_backend/__init__.py", line 1, in > from .apps import * > File "/usr/local/lib/python3.12/site-packages/django_minio_backend/apps.py", line...
Note: I'm only running into this issue in my CI/CD pipeline, because I am using tox to create an isolated python 3.8 environment to run all my django/python unit tests....
I updated minio package from 7.2.6 to 7.2.8 , After file uploaded to FileField and go to obj change page in django admin , raise error a bytes-like object is...
## Problem File save fails when the `minio` package version is equal to **7.2.8**. Possible cause of failure might be django-minio-backend does not supporting the newer version of `minio`. Error...
https://github.com/theriverman/django-minio-backend/blob/3.6.0/django_minio_backend/models.py#L166-L181 The part here could also do multipart uploads when setting `length=-1` and `part_size=some_buffer_size`. (see ) As a local workaround I'm currently doing this: ```python s3_client = default_storage.client result =...
Django's documentation states > **listdir(path)** > Lists the contents of the specified path, returning a 2-tuple of lists; the first item being directories, the second item being files. For storage...
I created the following configuration: ``` DEFAULT_FILE_STORAGE = 'django_minio_backend.storage.MinioBackend' STORAGES = { # -- ADDED IN Django 5.1 "default": { "BACKEND": "django_minio_backend.models.MinioBackend", } } MINIO_ENDPOINT = 'localhost:9000/' MINIO_ACCESS_KEY = 'there...
I have a custom implementation logic for generating a PDFs using `reportlab`. All of which is running inside a celery worker. For that I need to retrieve the image stored...