Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/victor-o-silva/db_file_storage

Custom FILE_STORAGE for django. Saves your model's filefields in your database instead of your file system.
https://github.com/victor-o-silva/db_file_storage

Last synced: about 2 months ago
JSON representation

Custom FILE_STORAGE for django. Saves your model's filefields in your database instead of your file system.

Awesome Lists containing this project

README

        

========================
django-db-file-storage
========================

.. image:: https://travis-ci.org/victor-o-silva/db_file_storage.svg?branch=master
:target: https://travis-ci.org/victor-o-silva/db_file_storage
:alt: Build Status

.. image:: https://coveralls.io/repos/victor-o-silva/db_file_storage/badge.svg?branch=master
:target: https://coveralls.io/r/victor-o-silva/db_file_storage?branch=master
:alt: Code Coverage

.. image:: http://readthedocs.org/projects/django-db-file-storage/badge/?version=master
:target: http://django-db-file-storage.readthedocs.org/en/master/?badge=master
:alt: Documentation Status

.. image:: https://badge.fury.io/py/django-db-file-storage.svg
:target: https://badge.fury.io/py/django-db-file-storage

.. image:: https://pyup.io/repos/github/victor-o-silva/db_file_storage/shield.svg
:target: https://pyup.io/repos/github/victor-o-silva/db_file_storage/
:alt: 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

#. download the project and ``cd`` into it,
#. ``cd`` into the ``demo_and_tests`` directory,
#. `pip-install `_ all the libraries specified in the `requirements file `_ in your environment (you might want to create and use a `virtual environment `_),
#. run ``python manage.py migrate`` and ``python manage.py runserver`` from your shell and
#. 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 `_.