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.

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.4.5.tar.gz (7.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-db-file-storage-0.4.5.tar.gz
Algorithm Hash digest
SHA256 8d35b054f8c678e8e1b7c43393ee26fb345e91ba8b45f29fefc39dbc104d8db4
MD5 cbe4b8485c98ff120b4ba5c32b693f19
BLAKE2b-256 92434eee779ea48dbd41eb923115353ebe1548c7a6ba7fc9916850a7c0e5ce64

See more details on using hashes here.

Supported by

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