Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 683 Bytes

dropbox.rst

File metadata and controls

27 lines (16 loc) · 683 Bytes

DropBox

A custom storage system for Django using Dropbox Storage backend.

Before you start configuration, you will need to install Dropbox SDK for Python.

Install the package:

pip install dropbox

Settings

To use DropBoxStorage set:

DEFAULT_FILE_STORAGE = 'storages.backends.dropbox.DropBoxStorage'
DROPBOX_OAUTH2_TOKEN

Your DropBox token, if you haven't follow this guide step.

DROPBOX_ROOT_PATH

Allow to jail your storage to a defined directory.