django-db-file-storage

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


License
MIT
Install
pip install django-db-file-storage==0.5.3

Documentation

django-db-file-storage

Build Status Code Coverage Documentation Status Updates

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.5, 3.6, 3.7 & 3.8, and Django versions 1.11, 2.2 & 3.0.

Dependencies scanned by PyUp.io

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.