Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-file-storage-0.1.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page