Skip to main content

Django app to use Minio Server as file storage.

Project description

Django app to use [Minio Server](https://github.com/minio/minio) as file storage.

Intallation

At first, you need to have working minio server. How to do that you can found at [Minio Quickstart Guide](https://docs.minio.io/docs/minio).

Install Django Minio Storage from pip: ` pip install django-minio `

Add following keys to your projects settings file: ` MINIO_SERVER = 'your_minio_server_address' MINIO_ACCESSKEY = 'your_minio_server_access_key' MINIO_SECRET = 'your_minio_server_secret_key' MINIO_BUCKET = 'my_bucket' MINIO_SECURE = True DEFAULT_FILE_STORAGE = 'django_minio.storage.MinioStorage' ` Demo minio server and it’s credentials can be found at [Python Client Quickstart Guide](https://docs.minio.io/docs/python-client-api-reference).

If you want to use this module only at production server, include above settnings only in production settings. So at local developer machine you will use django’s default file storage.

More information about file storages can be found at [Django Docs](https://docs.djangoproject.com/en/1.8/ref/files/storage/).

Currently tested only at Django 1.8.5.

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-1.3.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file django_minio-1.3.tar.gz.

File metadata

  • Download URL: django_minio-1.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django_minio-1.3.tar.gz
Algorithm Hash digest
SHA256 83a477f90264b3502a51872de4e73fc6c766b3e504429063fae6a9834dbfa783
MD5 a6333b9b9faa9e197df18c98bd1c75d2
BLAKE2b-256 56c12ffa07b234828bf028ef8b033c2f7cf6eac269c9843828250eda49f8c27f

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