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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-db-file-storage-0.5.1.tar.gz
Algorithm Hash digest
SHA256 8c75ca1cb524c6cbe8cb5cf253747efe1b439bb9fca85484c3ede7de3ce07fb2
MD5 70eb1ead8b1761d6ee9bd31651daa4a4
BLAKE2b-256 b54dcc9ca7c0ca9dcc732f64166723e72fc3eee712b5ebab95c1599b97c909a9

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