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
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.