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.

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-db-file-storage-0.4.3.tar.gz
Algorithm Hash digest
SHA256 5d7290c7cf1fb2008ecd9d8c3ebc62dda8f4ca0ddf85fe62bfdb4de0a7fa75c4
MD5 9ce33f7bc9f1ecf84561801fea44fb98
BLAKE2b-256 fb5d58573f5c015f18c2da16ccad8ead23108408139a499da794db5c7842e12f

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