{"id":14972821,"url":"https://github.com/zuck/django-dropbox-storage","last_synced_at":"2025-10-01T22:31:22.255Z","repository":{"id":49133971,"uuid":"129224638","full_name":"zuck/django-dropbox-storage","owner":"zuck","description":"A Dropbox Storage for your Django apps","archived":false,"fork":true,"pushed_at":"2021-06-27T11:52:03.000Z","size":46,"stargazers_count":5,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-25T11:21:49.435Z","etag":null,"topics":["django","dropbox","python","storage"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/django-dropbox-storage","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"andres-torres-marroquin/django-dropbox","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zuck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-12T09:12:55.000Z","updated_at":"2022-09-19T10:11:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zuck/django-dropbox-storage","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/zuck/django-dropbox-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuck%2Fdjango-dropbox-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuck%2Fdjango-dropbox-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuck%2Fdjango-dropbox-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuck%2Fdjango-dropbox-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuck","download_url":"https://codeload.github.com/zuck/django-dropbox-storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuck%2Fdjango-dropbox-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277690737,"owners_count":25860391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","dropbox","python","storage"],"created_at":"2024-09-24T13:47:35.558Z","updated_at":"2025-10-01T22:31:21.991Z","avatar_url":"https://github.com/zuck.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-dropbox-storage\n\n\u003e A Dropbox Storage for your Django apps\n\n## What\n\n`django-dropbox-storage` allows Django apps to use Dropbox as a storage backend for file uploading.\n\n## Installing\n\nFirst things first:\n\n```\n$ pip install django-dropbox-storage\n```\n\nThen open the `settings.py` of your project and include it to your `INSTALLED_APPS`:\n\n```\nINSTALLED_APPS = (\n    ...\n    'django_dropbox_storage',\n    ...\n)\n```\n\nIf you want to use `django_dropbox_storage` as default storage for all file uploads, you need to adjust `DEFAULT_FILE_STORAGE` too:\n\n```\nDEFAULT_FILE_STORAGE = 'django_dropbox_storage.storage.DropboxStorage'\n```\n\nIf you just want to use it on a single model field, you can simply import it:\n\n```\nfrom django_dropbox_storage.storage import DropboxStorage\n\nDROPBOX_STORAGE = DropboxStorage()\n\nphoto = models.ImageField(upload_to='photos', storage=DROPBOX_STORAGE ...)\n```\n\nIn order to let it work properly, you must set the next settings:\n\n```\nDROPBOX_ACCESS_TOKEN = 'xxx'\n```\n\nIf you don't have `DROPBOX_ACCESS_TOKEN` you can create one after creating a Dropbox app at [Dropbox for Developers](https://www.dropbox.com/developers).\nIf you have your Dropbox `App key` and `App secret`, you can set `DROPBOX_CONSUMER_KEY` and `DROPBOX_CONSUMER_SECRET` settings in `settings.py`, then run:\n\n```\n$ python manage.py get_dropbox_token [--settings=test_settings]\n```\n\nAnd follow up on screen instructions, finally set the `DROPBOX_ACCESS_TOKEN_SECRET` in your `settings.py` module.\n\nYou can also set default root folder setting the value of `DROPBOX_ROOT_FOLDER`:\n\n```\nDROPBOX_ROOT_FOLDER = '/Public'\n```\n\nBy default it's set to `'/'` (root folder).\n\n## Tests\n\nTests are written following Django's best practices.\n\nIn order to run them, you need to set `DROPBOX_ACCESS_TOKEN` properly.\n\n**NOTE:** if you're testing this package as _stand-alone_, you can set the access token in a `local_settings.py` module put in the root folder.\n\nTo launch the test suite:\n\n```\n$ python manage.py test [--settings=test_settings]\n```\n\nTo check the unit tests coverage you can:\n\n```\n$ pip install coverage\n$ coverage run manage.py test [--settings=test_settings]\n$ coverage report -m\n```\n\n## Contributing\n\nWhen contributing, please follow these steps:\n\n* Clone the repo and make your changes.\n* Make sure your code has test cases written against it.\n* Make sure all the tests pass.\n* Lint your code with Flake8.\n* Add your name to the list of contributers.\n* Submit a Pull Request.\n\n## Authors\n\n* **Emanuele Bertoldi**\n\nThis project is based on previous work by:\n\n* **Andres Torres** [django-dropbox]\n* **Maximiliano Cecilia** [django-dropbox]\n* **Josh Schneier** [django-storages]\n* **Danielle Madeley** [django-storages]\n\nKudos and many thanks to all of them!\n\n## License\n\nCopyright (c) 2018 Emanuele Bertoldi\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n\n[django-dropbox]: https://github.com/andres-torres-marroquin/django-dropbox\n[django-storages]: https://github.com/jschneier/django-storages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuck%2Fdjango-dropbox-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuck%2Fdjango-dropbox-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuck%2Fdjango-dropbox-storage/lists"}