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.5, 3.6 & 3.7, and Django versions 1.11, 2.0 & 2.1.

Python 3.4, Django 1.8, Django 1.9 and Django 1.10 are not supported anymore. If you HAVE to stick with them, you can use Django DB File Storage 0.5.2 (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.3.tar.gz (7.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: django-db-file-storage-0.5.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.9.1 setuptools/36.3.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.12

File hashes

Hashes for django-db-file-storage-0.5.3.tar.gz
Algorithm Hash digest
SHA256 67bc53a789fbec24eb92fd35797f0b2cf3674d2e036bdf7c3ebeb2b34b87424f
MD5 8453ff729f95014818ec5775e2f8e946
BLAKE2b-256 a0991d2bcb6255c7552e73637097dfefb99c94f22800ae254a02e32e77905068

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