Set file storage as an environment variable in your Django application.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-file-storage-0.1.tar.gz
.
File metadata
- Download URL: django-file-storage-0.1.tar.gz
- Upload date:
- Size: 1.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21896c7efb8d8a30a0bc4f21fdb73a6dec0b4c8b6a8f5030d91c9bb966671df5 |
|
MD5 | 42dc8c90082d56a7456a1178d4639648 |
|
BLAKE2b-256 | 05b963a81165332d975d97874ca581e891e12c2618b6ccdc12fbcdd3e273dcd6 |