Metadata-Version: 2.1
Name: django-privates
Version: 0.1
Summary: Batteries included private media integration in Django
Home-page: https://github.com/sergei-maertens/django-privates
Author: Sergei Maertens
Author-email: info@regex-it.nl
License: UNKNOWN
Keywords: django,media,private,storage
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: release
Provides-Extra: pep8
Provides-Extra: docs
Provides-Extra: coverage
Provides-Extra: tests
Requires-Dist: django
Requires-Dist: django-sendfile
Provides-Extra: coverage
Requires-Dist: pytest-cov; extra == 'coverage'
Provides-Extra: docs
Requires-Dist: sphinx; extra == 'docs'
Requires-Dist: sphinx-rtd-theme; extra == 'docs'
Provides-Extra: pep8
Requires-Dist: flake8; extra == 'pep8'
Provides-Extra: release
Requires-Dist: zest.releaser; extra == 'release'
Provides-Extra: tests
Requires-Dist: pytest; extra == 'tests'
Requires-Dist: pytest-django; extra == 'tests'
Requires-Dist: tox; extra == 'tests'
Requires-Dist: isort; extra == 'tests'

============================================
Django-privates - private media integrration
============================================

Django-privates makes it easy to work with login-protected ``FileField``s,
all the way through your application.

:Version: 0.1.0
:Source: https://github.com/sergei-maertens/django-privates
:Keywords: django, media, private, storage
:PythonVersion: 2.7, 3.4, 3.5, 3.6
:DjangoVersion: 1.11, 2.0

|build-status| |requirements|

.. contents::

.. section-numbering::

Features
========

* Default private media storage, configurable via settings
* Model field using the default storage
* Easy admin integration
* File serving through ``sendfile`` (supports nginx, apache, runserver,...)


* Django project inspection:

    * backs up configured databases using ``settings.DATABASES``
    * backs up file directories such as ``settings.MEDIA_ROOT``

* stdlib ``logging`` based reporting + e-mailing of backup/restore report
* YAML-based, minimal configuration
* Simple Python/CLI APIs for backup creation and restoration

Installation
============

Install
-------

.. code-block:: bash

    pip install django-privates

You do *not* need to add it to your ``INSTALLED_APPS``.


.. TODO

.. |build-status| image:: http://jenkins.maykin.nl/buildStatus/icon?job={{ project_name|lower }}
    :alt: Build status
    :target: http://jenkins.maykin.nl/job/{{ project_name|lower }}

.. |requirements| image:: https://requires.io/github/sergei-maertens/django-privates/requirements.svg?branch=master
     :target: https://requires.io/github/sergei-maertens/django-privates/requirements/?branch=master
     :alt: Requirements status


