Metadata-Version: 2.1
Name: django-db-file-storage
Version: 0.5.6.1
Summary: Custom FILE_STORAGE for Django. Saves files in your database instead of your file system.
Home-page: https://github.com/victor-o-silva/db_file_storage
Download-URL: https://github.com/victor-o-silva/db_file_storage/tarball/0.5.6.1
Author: Aagam Sheth, Victor Oliveira da Silva
Author-email: victor_o_silva@hotmail.com
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 5.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
License-File: LICENSE.txt
Requires-Dist: Django

========================
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 <https://docs.djangoproject.com/en/dev/topics/files/#file-storage>`_
for Django. Use it to save files in your database instead of your file system.

Supports Python versions ``2.7``, ``3.5``, ``3.6+``, and Django versions ``1.11``, ``2.2`` & ``3.0+``.

Dependencies scanned by PyUp.io

Documentation
========================

The project docs can be found `here (RTD) <http://django-db-file-storage.readthedocs.org/en/master/>`_.

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 <https://pypi.python.org/pypi/pip>`_ all the libraries specified in the `requirements file <https://github.com/victor-o-silva/db_file_storage/blob/master/demo_and_tests/requirements.txt>`_ in your environment (you might want to create and use a `virtual environment <http://docs.python-guide.org/en/latest/dev/virtualenvs/>`_),
#. run ``python manage.py migrate`` and ``python manage.py runserver`` from your shell and
#. visit `http://localhost:8000 <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 <https://github.com/victor-o-silva/db_file_storage/blob/master/CONTRIBUTING.rst>`_.
