Django Storage backend for MinIO
Project description
Django MinIO Storage
Django Storage backend using MinIO.
Install
pip install django-minio-storage-idtinc
Usage
# settings.py
MINIO_BUCKET_NAME = ""
MINIO_ENDPOINT = "" # s3.example.com
MINIO_ACCESS_KEY = ""
MINIO_SECRET_KEY = ""
MINIO_SECURE = False # True or False
# Settings for Django MinIO Storage
# For Django 4.2+
STORAGES = {
"default": {
"BACKEND": "django_minio_storage.MinioStorage",
},
}
# Or with options
STORAGES = {
"default": {
"BACKEND": "django_minio_storage.MinioStorage",
"OPTIONS": {
"bucket_name": "",
"endpoint": "", # s3.example.com
"access_key": "",
"secret_key": "",
"secure": True, # True or False
},
},
}
# For Django versions below 4.2
DEFAULT_FILE_STORAGE = "django_minio_storage.MinioStorage"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_minio_storage_idtinc-1.1.0.tar.gz.
File metadata
- Download URL: django_minio_storage_idtinc-1.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62f3c3a3923888f67c69fb08460430f28ad58be61fc43924b99f11c7c0611f14
|
|
| MD5 |
c9d42d5ca9897aabd4e66afc64f8da37
|
|
| BLAKE2b-256 |
ba7d77cb2fb0914776eb6a06d654e10b43159559adb0bdd0ba4cfb1feadd9bad
|
File details
Details for the file django_minio_storage_idtinc-1.1.0-py3-none-any.whl.
File metadata
- Download URL: django_minio_storage_idtinc-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
300ac21c22ce5d3567012a2760ae51fb9ba5ebfed1c689a60265754c28e8c812
|
|
| MD5 |
cab297b1ad70267c0383b5a0c3eca611
|
|
| BLAKE2b-256 |
6237fd9aeed3deb3523e4616f7c7f766cef8b1affed25600b0cd92d487db12c7
|