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.1.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.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_minio_storage_idtinc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 08788f255222626d16257826c04ead0932813ade0e0df38d557f3ff16314b1b3
MD5 65a0b53aead4a6a07d3d12176ad2baef
BLAKE2b-256 aacf927e09307f2b379af374efb25b1280983de5b0c04d7d8d3104eac9ab217e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_minio_storage_idtinc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d1f55316443bfd40d852c78eb2b806723d4601edc907016ae0ed68ca03cd54
MD5 3a122d62a52f7d5371b388ab48614d2b
BLAKE2b-256 bef1bf117907d6d79dcdb6dd430a1b8ca1cbf50daae97287396f746527e15fe9

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