Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meshy/django-file-storage
Configure `DEFAULT_FILE_STORAGE` with environment variables. Inspired by Kenneth Reitz's dj-database-url.
https://github.com/meshy/django-file-storage
Last synced: about 2 months ago
JSON representation
Configure `DEFAULT_FILE_STORAGE` with environment variables. Inspired by Kenneth Reitz's dj-database-url.
- Host: GitHub
- URL: https://github.com/meshy/django-file-storage
- Owner: meshy
- License: lgpl-3.0
- Created: 2012-06-25T13:01:40.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-25T13:23:20.000Z (over 12 years ago)
- Last Synced: 2024-10-14T01:13:13.761Z (2 months ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
django-file-storage
~~~~~~~~~~~~~~~~~~~Usage
-----Configure your file storage in ``settings.py``::
DEFAULT_FILE_STORAGE = django_file_storage.config()
Looks for ``DEFAULT_FILE_STORAGE`` in your environment variables, and falls
back to django's default. The environment variable must be one of those defined
in ``backends``.