Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 866 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 866 Bytes

django-elliptics

This module provides scalable file storage backend for Django. It leverages Elliptics and elliptics-fastcgi.

Configuration

The storage backend is called django_elliptics.storage.EllipticsStorage.

django-elliptics uses these configuration settings:

  • ELLIPTICS_PUBLIC_URL - base URL for the public elliptics-fastcgi node. E.g. http://uploads.myproject.com. It should be accessible to the end users.
  • ELLIPTICS_PRIVATE_URL - base URL for the modification requests. E.g. http://localhost:9000.
  • ELLIPTICS_PREFIX - a prefix to add to all names before storing files. Allows to avoid conflicts when sharing storage between applications.

You can also set these using public_url and private_url arguments to the EllipticsStorage constructor.