File: digital-ocean-spaces.rst

package info (click to toggle)
python-django-storages 1.14.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 896 kB
  • sloc: python: 4,548; makefile: 119; sh: 6
file content (8 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
Digital Ocean
=============

Digital Ocean Spaces implements the S3 protocol. To use it follow the instructions in the :doc:`Amazon S3 docs <../amazon-S3>` with the important caveats that you must:

- Set ``region_name`` to your Digital Ocean region (such as ``nyc3`` or ``sfo2``)
- Set ``endpoint_url`` to the value of ``https://${region_name}.digitaloceanspaces.com``
- Set the values of ``access_key`` and ``secret_key`` to the corresponding values from Digital Ocean