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.0.tar.gz (2.5 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.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_minio_storage_idtinc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5ed6a5bd5bceb40b207201ed18c6cdcf088dcc8c0ab840a47195f767180074f6
MD5 d898f775a305daf706a582abf0e51688
BLAKE2b-256 e22e521ab63cd672a616e048b4f67149201e02cdfbcbbfdbf3e7c9a36f858629

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_minio_storage_idtinc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc2097d47d4709bdf25c435b0e3b257e35cbe0fdbe878e55c58c451afd94417e
MD5 c3cd33a47dd28ea37a67590f49cc6ddc
BLAKE2b-256 6ae13f2eeffe29a819d9d1e083a9d5881eee24373a4d62febf65b086af4a68f5

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