Skip to main content

Custom FILE_STORAGE for Django. Saves files in your database instead of your file system.

Project description

Build Status Code Health Code Coverage Documentation Status https://badge.fury.io/py/django-db-file-storage.svg

Django DB File Storage is a custom file storage system for Django. Use it to save files in your database instead of your file system.

Supports Python versions 2.7, 3.4, 3.5 & 3.6, and Django versions 1.8, 1.9, 1.10, 1.11 & 2.0.

Python 3.3, Django 1.6 and Django 1.7 are not supported anymore. If you HAVE to stick with them, you can use Django DB File Storage 0.3.3 (PyPI) (GitHub).

Documentation

The project docs can be found here (RTD).

Demo

In order to run the demo project, just

  1. download the project and cd into it,

  2. cd into the demo_and_tests directory,

  3. pip-install all the libraries specified in the requirements file in your environment (you might want to create and use a virtual environment),

  4. run python manage.py migrate and python manage.py runserver from your shell and

  5. visit http://localhost:8000 in your browser.

Tests & Contributing

In order to run the tests and contribute to db_file_storage, check the instructions in the CONTRIBUTING file.

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-db-file-storage-0.5.2.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file django-db-file-storage-0.5.2.tar.gz.

File metadata

File hashes

Hashes for django-db-file-storage-0.5.2.tar.gz
Algorithm Hash digest
SHA256 39730a128109454de569408969353e5ea06cc17a95165f21c871c2e24e93b6b3
MD5 a8b45aa682670367964db5a49d5c06c5
BLAKE2b-256 050d989f1d46508b1a8d2dd04deeab4c9d226b0232415fc0c095f539cc3a98bb

See more details on using hashes here.

Supported by

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