Skip to main content

Django Storage backend for MinIO

Project description

Django MinIO Storage

Django Storage backend using MinIO.

Install

pip install django-minio-storage

Usage

# settings.py
MINIO_BUCKET_NAME = ""
MINIO_ENDPOINT = "" # s3.example.com
MINIO_ACCESS_KEY = ""
MINIO_SECRET_KEY = ""
MINIO_SECURE = False  # True or False

# For Django 4.2+
STORAGES = {
    "default": {
        "BACKEND": "django_minio_storage.MinioStorage",
    },
}

# 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

django_minio_storage_idtinc-1.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_minio_storage_idtinc-1.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file django_minio_storage_idtinc-1.0.2.tar.gz.

File metadata

File hashes

Hashes for django_minio_storage_idtinc-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a36ad5ded50451334d7f25af0c2b3105aa263759e5d08061a2dcc1532ce14607
MD5 30ec82f1041b10ca12e574011163db87
BLAKE2b-256 991f15b842c56c4bd433318550195d957319be5674e7579e1da11176ea1195c9

See more details on using hashes here.

File details

Details for the file django_minio_storage_idtinc-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_minio_storage_idtinc-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ad65d7d9c98adca1cc93071a4c1f0cddd68ff9dd2e4e76a691c7e0d3e1792b4
MD5 80dd426e7c057247ea55739f7765f089
BLAKE2b-256 08025c07a1e354fddaeab21afded09185af2e2b5e846f0de421f7fdd45ac0725

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page